Name | Description |
---|---|
HeatRate | Specify heat flow rate (measure temperature) |
Temperature | Specify temperature (measure heat flow rate) |
Partial | Base model for a thermal condition |
Type | Name | Default | Description |
---|---|---|---|
Specification | |||
Boolean | internal | true | Use internal specification |
RealExpression | set | redeclare Modelica.Blocks.So… | Source of internal specification |
Measurement | |||
RealOutput | y | positive.T - negative.T | Measurement expression |
Type | Name | Description |
---|---|---|
input RealInput | u | Value of specified condition |
ThermalDiffusive | negative | Negative connector for thermal diffusion |
ThermalDiffusive | positive | Positive connector for thermal diffusion |
Measurement | ||
output RealOutput | y | Measurement expression |
model HeatRate "Specify heat flow rate (measure temperature)" extends Partial(final y=positive.T - negative.T); equation negative.Qdot = u_final; end HeatRate;
Type | Name | Default | Description |
---|---|---|---|
Specification | |||
Boolean | internal | true | Use internal specification |
RealExpression | set | redeclare Modelica.Blocks.So… | Source of internal specification |
Measurement | |||
RealOutput | y | negative.Qdot | Measurement expression |
Type | Name | Description |
---|---|---|
input RealInput | u | Value of specified condition |
ThermalDiffusive | negative | Negative connector for thermal diffusion |
ThermalDiffusive | positive | Positive connector for thermal diffusion |
Measurement | ||
output RealOutput | y | Measurement expression |
model Temperature "Specify temperature (measure heat flow rate)" extends Partial(final y=negative.Qdot); equation positive.T - negative.T = u_final; end Temperature;
Type | Name | Default | Description |
---|---|---|---|
Specification | |||
Boolean | internal | true | Use internal specification |
RealExpression | set | redeclare Modelica.Blocks.So… | Source of internal specification |
Measurement | |||
RealOutput | y | Measurement expression |
Type | Name | Description |
---|---|---|
input RealInput | u | Value of specified condition |
ThermalDiffusive | negative | Negative connector for thermal diffusion |
ThermalDiffusive | positive | Positive connector for thermal diffusion |
Measurement | ||
output RealOutput | y | Measurement expression |
partial model Partial "Base model for a thermal condition" extends FCSys.Icons.Conditions.PairShort; parameter Boolean internal=true "Use internal specification"; replaceable Modelica.Blocks.Sources.RealExpression set if internal constrainedby Modelica.Blocks.Interfaces.SO "Source of internal specification"; Connectors.RealInput u if not internal "Value of specified condition"; Connectors.RealOutput y "Measurement expression"; Connectors.ThermalDiffusive negative "Negative connector for thermal diffusion"; protected Connectors.RealOutputInternal u_final "Final value of specified condition"; public Connectors.ThermalDiffusive positive "Positive connector for thermal diffusion"; equation // Conservation of energy 0 = negative.Qdot + positive.Qdot; connect(u, u_final); connect(set.y, u_final); end Partial;