Entries Tagged as ''

SysML Requirement table generator

TopCased is a widely used and free SysML editor. Our SysML-Companion can work with it. Unfortunately TopCased is still lacking table notation (see feature request #2157), especially for requirements.

Here is a simple XSL stylesheet (EPL-1.0) that creates an HTML file containing the tables from the XMI file written with TopCased SysML editor.

Download the RequirementTable.xsl (337) XSL stylesheet. For any question, you can contact me at loic.fejoz@realtimeatwork.com.

You can use the internal XSL launcher. On the distiller example, you get for instance the following result:

Distiller

Distiller Requirements

Source_Requirements

id name text
S0.0 OriginalStatement Describe a system for purifying dirty water.
- Heat dirty water and condense steam are performed by a Counter Flow Heat Exchanger
– Boil dirty water is performed by a Boiler. Drain residue is performed by a Drain.
The water has properties: vol = 1 liter, density 1 gm/cm3, temp 20°C, specific heat 1cal/gm.°C, heat of vaporization 540 cal/gm.
S1.0 PurifyWater The system shall purify dirty water.
S2.0 HeatExchanger Heat dirty water and condense steam are performed by a Counter Flow Heat Exchanger.
S3.0 Boiler Boil dirty water is performed by a Boiler.
S4.0 Drain Drain residue is performed by a Drain.
S5.0 WaterProperties Water has properties: density 1 gm/cm3, temp 20°C, specific heat 1 cal/gm.°C, heat of vaporization 540 cal/gm.
S5.1 WaterInitialTemp Water has an initial temp 20 deg C.

Derived_Requirements

id name text
D1.0 DistillWater The system shall purify water by boiling it.