Name | Description |
---|---|
HeatRate | Specify heat flow rate (measure temperature) |
Temperature | Specify temperature (measure heat flow rate) |
Resistance | Specify thermal resistance to the environment (measure temperature) |
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 | therm.T | Measurement expression |
Type | Name | Description |
---|---|---|
input RealInput | u | Value of specified condition |
ThermalDiffusive | therm | Connector for thermal diffusion |
Measurement | ||
output RealOutput | y | Measurement expression |
model HeatRate "Specify heat flow rate (measure temperature)" extends Partial(final y=therm.T); equation therm.Qdot = u_final; end HeatRate;
Type | Name | Default | Description |
---|---|---|---|
Specification | |||
Boolean | internal | true | Use internal specification |
Measurement | |||
RealOutput | y | therm.Qdot | Measurement expression |
Type | Name | Description |
---|---|---|
input RealInput | u | Value of specified condition |
ThermalDiffusive | therm | Connector for thermal diffusion |
Measurement | ||
output RealOutput | y | Measurement expression |
model Temperature "Specify temperature (measure heat flow rate)" extends Partial(final y=therm.Qdot, set(y=298.15*U.K)); equation therm.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 | therm.T | Measurement expression |
Type | Name | Description |
---|---|---|
input RealInput | u | Value of specified condition |
ThermalDiffusive | therm | Connector for thermal diffusion |
Measurement | ||
output RealOutput | y | Measurement expression |
model Resistance "Specify thermal resistance to the environment (measure temperature)" extends Partial(final y=therm.T); outer Conditions.Environment environment "Environmental conditions"; equation therm.T - environment.T = u_final*therm.Qdot; end Resistance;
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 | therm | Connector for thermal diffusion |
Measurement | ||
output RealOutput | y | Measurement expression |
partial model Partial "Base model for a thermal condition" extends FCSys.Icons.Conditions.SingleShort; 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 therm "Connector for thermal diffusion"; protected Connectors.RealOutputInternal u_final "Final value of specified condition"; equation connect(u, u_final); connect(set.y, u_final); end Partial;