Main Content

Foundation Domain Types and Directory Structure

Simscape™ software comes with the following Foundation domains:

Simscape Foundation libraries are organized in a package containing domain and component Simscape files. The name of the top-level package directory is +foundation, and the package consists of subpackages containing domain files, structured as follows:

- +foundation 
|-- +electrical 
| |-- electrical.ssc 
| |-- three_phase.ssc
| |-- ...
|-- +gas 
| |-- gas.ssc 
| |-- ...
|-- +hydraulic  
| |-- hydraulic.ssc 
| |-- ...
|-- +isothermal_liquid  
| |-- isothermal_liquid.ssc 
| |-- ...
|-- +magnetic  
| |-- magnetic.ssc 
| |-- ...
|-- +mechanical  
| |-- +rotational 
| | |-- rotational.ssc 
| | |-- ...
| |-- +translational 
| | |-- translational.ssc 
| | |-- ...
|-- +moist_air 
| |-- moist_air.ssc
| |-- moist_air_source.ssc 
| |-- ...
|-- +pneumatic  (kept for compatibility purposes)
| |-- pneumatic.ssc 
| |-- ...
|-- +thermal  
| |-- thermal.ssc 
| |-- ...
|-- +thermal_liquid  
| |-- thermal_liquid.ssc 
| |-- ...
|-- +two_phase_fluid  
| |-- two_phase_fluid.ssc 
| |-- ...

To use a Foundation domain in a component declaration, refer to the domain name using the full path, starting with the top package directory. The following example uses the syntax for the Simscape Foundation mechanical rotational domain:

r = foundation.mechanical.rotational.rotational; 

The name of the top-level package directory is +foundation. It contains a subpackage +mechanical, with a subpackage +rotational, which in turn contains the domain file rotational.ssc.