modelSuperCap
Simple model of a supercapacitor
Extends from Modelica.Electrical.Analog.Interfaces.TwoPin (Component with two electrical pins), Modelica.Electrical.Analog.Interfaces.PartialConditionalHeatPort (Partial model to include a conditional HeatPort in order to dissipate losses, used for graphical modeling, i.e., for building models by drag-and-drop).
Information
This is a simple model of a supercapacitor, comprising:
- an ideal capacitance
- a series resistance
- a self-discharge conductor
Note
There is no limit included against too high charging and too low discharging or even charging in the opposite direction.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | Vnom | Nominal voltage | |
| SI.Voltage | V0 | Vnom | Initial voltage |
| SI.Capacitance | C | Capacitance | |
| SI.ElectricCharge | Qnom | C*Vnom | Nominal charge |
| SI.Resistance | Rs | Series resistance | |
| SI.Temperature | T_ref | 293.15 | Reference temperature |
| SI.LinearTemperatureCoefficient | alpha | 0 | Temperature coefficient of resistance at T_ref |
| SI.Current | Idis | 0 | Self-discharge current at nominal voltage |
| Boolean | useHeatPort (from PartialConditionalHeatPort) | false | =true, if HeatPort is enabled |
| SI.Temperature | T (from PartialConditionalHeatPort) | 293.15 | Fixed device temperature if useHeatPort = false |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PositivePin | p (from TwoPin) | Positive electrical pin | |
| NegativePin | n (from TwoPin) | Negative electrical pin | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from PartialConditionalHeatPort) | Optional port to which dissipated losses are transported in form of heat |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v (from TwoPin) | Voltage drop of the two pins (= p.v - n.v) | |
| SI.Current | i | p.i | Current into the supercap |
| Modelica.Thermal.HeatTransfer.Sources.FixedTemperature | fixedTemperature (from PartialConditionalHeatPort) | ||
| Modelica.Electrical.Analog.Basic.Resistor | resistor | ||
| Modelica.Electrical.Analog.Basic.Conductor | conductor | ||
| Modelica.Electrical.Analog.Basic.Capacitor | capacitor |