modelSignalCurrent
Generic current source using the input signal as source current
Extends from Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).
Information
The signal current source is a converter of real valued irradiance signal into a source current. Depending on the actual temperature the current is adjusted through a linear temperature coeffficient.
i = IRef * (irradiance / irradianceRef + alphaRef * (T_heatPort - TRef))
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useHeatPort (from ConditionalHeatPort) | false | = true, if heatPort is enabled |
| SI.Temperature | T (from ConditionalHeatPort) | 293.15 | Fixed device temperature if useHeatPort = false |
| Modelica.Units.SI.Temperature | TRef | 298.15 | Reference temperature |
| Modelica.Units.SI.Current | IRef | 1 | Reference current at reference irradiance and reference temperature |
| Modelica.Units.SI.Irradiance | irradianceRef | 1000 | Reference solar irradiance |
| Modelica.Units.SI.LinearTemperatureCoefficient | alphaRef | 0 | Temperature coefficient of reference current at TRref |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from ConditionalHeatPort) | Conditional heat port | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | p | ||
| Modelica.Electrical.Analog.Interfaces.NegativePin | n | ||
| Modelica.Blocks.Interfaces.RealInput | irradiance | Irradiance |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Power | LossPower (from ConditionalHeatPort) | Loss power leaving component via heatPort | |
| SI.Temperature | T_heatPort (from ConditionalHeatPort) | Temperature of heatPort | |
| Modelica.Units.SI.Voltage | v | Voltage drop between the two pins (= p.v - n.v) | |
| Modelica.Units.SI.Current | i | Current flowing from pin p to pin n as input signal |
Revisions
- 1998
by Martin Otter
initially implemented