modelErrorControl

Interface that defines parameters for error control

Information

This is an interface that defines parameters used for error control.

Dymola does error control on state variables, such as temperature, pressure and species concentration. Flow variables such as m_flow are typically not checked during the error control. This can give large errors in flow variables, as long as the error on the volume's state variables that are coupled to the flow variables is small. Obtaining accurate flow variables can be achieved by imposing an error control on the exchanged mass, which can be defined as

  dm/dt = m_flow.

By setting forceErrorControlOnFlow = true, such an equation is imposed by models that extend this class.

Parameters

TypeNameDefaultDescription
Advanced
BooleanforceErrorControlOnFlowtrueFlag to force error control on m_flow. Set to true if interested in flow rate

Revisions

  • June 27, 2018, by Michael Wetter:
    Moved parameter forceErrorControlOnFlow to the Advanced tab.
  • July 20, 2010 by Michael Wetter:
    Integrated model into the Buildings library.
  • November 1, 2005 by Michael Wetter:
    Released first version.