SystemComponent

System component

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.

  • The General tab of the System model allows to set the default environment variables (pressure, temperature and gravity) used by all the components.
  • The Assumptions tab allows to change the default modelling assumptions used by all the components (see the section Customizing a system model later)
  • The Initialization tab allows to define default start values for mass flow rates, pressures and temperatures in the model; this can be useful to help nonlinear solver converge to the solution of any nonlinear system of equations that involves such variables, by providing meaningful guess values.
  • The Advanced tab contains default values for parameters used in the advanced settings of some components.

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.