Issue: Limited coverage in regression testing
Our default regression testing workflow evaluates states only. In case of the TFS this is primarily the mass flow rate.
With this selection simulation variables, e.g. the thermodynamic state, is often not sufficiently represented. This is particularly problematic for models in ThermofluidStream.Idealized, where the mass flow rate is frequently an input and not a simulation result. As a result, regression testing may fail to detect relevant behavioral changes.
Proposed way forward
Adopt a CSV-based comparison as the default regression testing workflow:
Introduce dedicated states for selected variables (e.g. via Modelica.Blocks.Continuous.FirstOrder) to make them accessible for regression testing. After further discussion, we decided not to pursue this approach.
Issue: Limited coverage in regression testing
Our default regression testing workflow evaluates states only. In case of the TFS this is primarily the mass flow rate.
With this selection simulation variables, e.g. the thermodynamic state, is often not sufficiently represented. This is particularly problematic for models in
ThermofluidStream.Idealized, where the mass flow rate is frequently an input and not a simulation result. As a result, regression testing may fail to detect relevant behavioral changes.Proposed way forward
Adopt a CSV-based comparison as the default regression testing workflow:
Introduce dedicated states for selected variables (e.g. viaAfter further discussion, we decided not to pursue this approach.Modelica.Blocks.Continuous.FirstOrder) to make them accessible for regression testing.