For more complex models add a summary class which summarises the most important variables, following the example (adsorbent model) shown below.
public
inner parameter Boolean includeSummaryArrays=true
"include array entries in summary"
annotation (Dialog(tab="Advanced", group="Summary"));
inner parameter Boolean includeDefaultSummary=true
"include default entries in summary"
annotation (Dialog(tab="Advanced", group="Summary"));
protected
record Summary
extends TIL.Internals.ClassTypes.Record;
Modelica.SIunits.MassFlowRate m_flow_A if include;
Modelica.SIunits.MassFlowRate m_flow_B if include;
Modelica.SIunits.Pressure p_A if include;
Modelica.SIunits.Pressure p_B if include;
Modelica.SIunits.SpecificEnthalpy h_A_outflow if include;
Modelica.SIunits.SpecificEnthalpy h_B_outflow if include;
Modelica.SIunits.Pressure p_Sorb if include;
Real x_Sorb if include;
Modelica.SIunits.Temperature T_Sorb if include;
protected
outer parameter Boolean includeDefaultSummary;
parameter Boolean include=includeDefaultSummary;
end Summary;
replaceable record SummaryClass = Summary;
public
SummaryClass summary(
m_flow_A=portA.m_flow,
m_flow_B=portB.m_flow,
p_A=portA.p,
p_B=portB.p,
h_A_outflow=portA.h_outflow,
h_B_outflow=portB.h_outflow,
p_Sorb=sorbentSorbate.p,
x_Sorb=x,
T_Sorb=T) annotation (Placement(transformation(extent={{66,-88},{86,-68}},
rotation=0)));
go to Convesrion scripts