modelGenericPowerProfile
Transalets a total power input to user defined power profile (or shape)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nNodes | 4 | # of discrete volumes |
| Units.NonDim[nNodes] | Q_shape | 1/nNodes*ones(nNodes) | Fractional power profile. Note: sum(Q_shape) = 1 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | Q_total | Total input power | |
| Modelica.Blocks.Interfaces.RealOutput | Q_totalshaped | Total power shaped to desired power profile |