modelDropOfCommons

Model for global parameters

Information

The DropOfCommons defines global parameters and settings for simulation models. This model serves several purposes:

  • It provides default physical constants (e.g., gravity acceleration) and flow properties (e.g., inertance) that are used by all components in the model.
  • It defines regularization parameters (e.g., minimal density, minimal pressure, mass flow threshold, angular velocity, and volume damping factor) that ensure numerical stability of transient simulations. These parameters must be adjusted to match the characteristics of the simulated system, for example, if the system’s design involves mass flows on the order of magnitude of the regularization threshold (m_flow_reg), or angular velocities near omega_reg, their values should be updated to prevent artificial inaccuracies. Detailed information on the volume damping factor is available in the PartialVolume documentation.
  • It defines global assertion and error handling behavior via the assertionLevel parameter.
  • It provides layout and visualization settings for model diagrams, such as displaying instance names, parameter values and color-coded visualization for e.g. resistance pressure drop.

Since the global parameters defined in DropOfCommons are used by multiple ThermofluidStream components, exactly one instance of this model needs to be present at the top level of a simulation model. The basic declaration is:

inner ThermofluidStream.DropOfCommons dropOfCommons

Note, it must be an inner declaration with instance name dropOfCommons so that all components of a ThermofluidStream model can reference it. When dragging the "DropOfCommons" object from the package browser into the diagram layer, this declaration is automatically generated (defined via annotations in the model).

All flow, density, pressure, and visualization parameters in a simulation model are resolved relative to the settings in this dropOfCommons instance. Adjusting these parameters allows controlling global simulation behavior, visualization preferences, and regularization methods consistently across all components.

For the parameter considerInertance, refer to Idealized.UsersGuide.InertanceNeglect.

Parameters

TypeNameDefaultDescription
SI.AccelerationgModelica.Constants.g_nAcceleration of gravity
AssertionLevelassertionLevelAssertionLevel.errorGlobal assertion level
Integer[3]instanceNameColor{28, 108, 200}Color of the component name
Advanced
BooleanconsiderInertancetrue=true, if transient momentum (inertance) term is considered; disable only for advanced use
Utilities.Units.InertanceL0.01Inertance of the flow
Regularization
SI.MassFlowRatem_flow_reg0.01Regularization threshold of mass flow rate
SI.AngularVelocityomega_reg1Angular velocity used for regularization
SI.Densityrho_min1e-10Minimum allowed density
SI.AbsolutePressurep_min100Minimal steady-state pressure
Realk_volume_damping0.1Volume damping factor multiplicator
Layout
BooleandisplayInstanceNamestrue= true, if ThermofluidStream instance names are displayed
BooleandisplayParameterstrue= true, if displaying parameters is enabled
BooleandisplayColorfalse= true, if pressure drop is displayed in color

Revisions

  • Mai 2026, by Raphael Gebhart (raphael.gebhart@dlr.de) and Tobias Reischl (tobias.reischl@dlr.de):
    Added the considerInertance parameter, including conditional visual highlighting on the icon layer when it is set to false.
Logo DLR Copyright © Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR)