FCSys.Conditions.ByConnector.ThermalDiffusive.Single

Conditions for a single ThermalDiffusive connector

Information

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

NameDescription
FCSys.Conditions.ByConnector.ThermalDiffusive.Single.HeatRate HeatRate Specify heat flow rate (measure temperature)
FCSys.Conditions.ByConnector.ThermalDiffusive.Single.Temperature Temperature Specify temperature (measure heat flow rate)
FCSys.Conditions.ByConnector.ThermalDiffusive.Single.Resistance Resistance Specify thermal resistance to the environment (measure temperature)
FCSys.Conditions.ByConnector.ThermalDiffusive.Single.Partial Partial Base model for a thermal condition

FCSys.Conditions.ByConnector.ThermalDiffusive.Single.HeatRate FCSys.Conditions.ByConnector.ThermalDiffusive.Single.HeatRate

Specify heat flow rate (measure temperature) FCSys.Conditions.ByConnector.ThermalDiffusive.Single.HeatRate

Information

Extends from Partial (Base model for a thermal condition).

Parameters

TypeNameDefaultDescription
Specification
BooleaninternaltrueUse internal specification
RealExpressionsetredeclare Modelica.Blocks.So…Source of internal specification
Measurement
RealOutputytherm.TMeasurement expression

Connectors

TypeNameDescription
input RealInputuValue of specified condition
ThermalDiffusivethermConnector for thermal diffusion
Measurement
output RealOutputyMeasurement expression

Modelica definition

model HeatRate "Specify heat flow rate (measure temperature)"
  extends Partial(final y=therm.T);

equation 
  therm.Qdot = u_final;

end HeatRate;

FCSys.Conditions.ByConnector.ThermalDiffusive.Single.Temperature FCSys.Conditions.ByConnector.ThermalDiffusive.Single.Temperature

Specify temperature (measure heat flow rate) FCSys.Conditions.ByConnector.ThermalDiffusive.Single.Temperature

Information

Extends from Partial (Base model for a thermal condition).

Parameters

TypeNameDefaultDescription
Specification
BooleaninternaltrueUse internal specification
Measurement
RealOutputytherm.QdotMeasurement expression

Connectors

TypeNameDescription
input RealInputuValue of specified condition
ThermalDiffusivethermConnector for thermal diffusion
Measurement
output RealOutputyMeasurement expression

Modelica definition

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;

FCSys.Conditions.ByConnector.ThermalDiffusive.Single.Resistance FCSys.Conditions.ByConnector.ThermalDiffusive.Single.Resistance

Specify thermal resistance to the environment (measure temperature) FCSys.Conditions.ByConnector.ThermalDiffusive.Single.Resistance

Information

Extends from Partial (Base model for a thermal condition).

Parameters

TypeNameDefaultDescription
Specification
BooleaninternaltrueUse internal specification
RealExpressionsetredeclare Modelica.Blocks.So…Source of internal specification
Measurement
RealOutputytherm.TMeasurement expression

Connectors

TypeNameDescription
input RealInputuValue of specified condition
ThermalDiffusivethermConnector for thermal diffusion
Measurement
output RealOutputyMeasurement expression

Modelica definition

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;

FCSys.Conditions.ByConnector.ThermalDiffusive.Single.Partial FCSys.Conditions.ByConnector.ThermalDiffusive.Single.Partial

Base model for a thermal condition FCSys.Conditions.ByConnector.ThermalDiffusive.Single.Partial

Information

Extends from FCSys.Icons.Conditions.SingleShort (Short icon for a single-connector boundary condition).

Parameters

TypeNameDefaultDescription
Specification
BooleaninternaltrueUse internal specification
RealExpressionsetredeclare Modelica.Blocks.So…Source of internal specification
Measurement
RealOutputy Measurement expression

Connectors

TypeNameDescription
input RealInputuValue of specified condition
ThermalDiffusivethermConnector for thermal diffusion
Measurement
output RealOutputyMeasurement expression

Modelica definition

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;