modelBoundaryV

Boundary model, vector port

Extends from Partials.BoundaryBase (Boundary model base).

Information

Ideal cooling (ideal=true):
Boundary has fixed temperature T_amb.

Cooling by linear heat transition (ideal=false):
Boundary has one common variable temperature T.
T is determined by the difference between heat inflow at the heat-port and outflow=G*(T-T_amb) towards ambient, according to a given heat capacity C.

The time-average equation

  der(q) = (Q_flow - q)/tcst
is equivalent to the heat equation
  C*der(T) = Q_flow - G*(T - T_amb)
at constant ambient temperature. The correspondence is
  tcst = C/G
  q = G*(T - T_amb)

Parameters

TypeNameDefaultDescription
Booleanadd_uptrueadd up Q_flow at equal T
Integerm1dimension of heat port
Booleanideal (from BoundaryBase)trueideal cooling
SI.TemperatureT_amb (from BoundaryBase)300ambient temperature
SI.HeatCapacityC (from BoundaryBase)1heat capacity cp*m
SI.ThermalConductanceG (from BoundaryBase)1thermal conductance to ambient
Initialization
Types.DynamicsdynType (from BoundaryBase)system.dynTypetransient or steady-state model
Options
Booleanav (from BoundaryBase)falsetime average heat-flow
SI.Timetcst (from BoundaryBase)1average time-constant

Connectors

TypeNameDefaultDescription
PowerSystems.Interfaces.ThermalV_pheatvector heat port

Components

TypeNameDefaultDescription
SI.TemperatureT (from BoundaryBase)temperature
SI.HeatFlowRateQ_flow
SI.HeatFlowRateQav_flowq