.Modelica.Fluid.UsersGuide.BuildingSystemModels.SystemComponent

Information

The Modelica.Fluid library is designed so that each model of a system must include an instance system of the System component at the top level, in the same way as the World model of the MultiBody Library. The System component contains the parameters that describe the environment surrounding the components (ambient pressure and temperature, gravity acceleration), and also provides default settings for many parameters which are used consistently by the models in the library. These parameters are then propagated to the individual components using the inner/outer variable mechanism. In case the system model is structured hierarchically, it is possible to either put a single System component at the top level, or possibly to put many of them at different levels, which will only influence the system components from that level down.

All the parameters defined in the System model are used as default values for the parameters of the individual components of the system model. Note that it is always possible to override these defaults locally by changing the value of the parameters in the specific component instance.

Remember to always add a System component at the top level of your system model, otherwise you will get errors when compiling the model. The tool will automatically name it system, so that it is recognized by all other components.


Generated at 2024-04-24T18:15:52Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos