SuperCap
Simple model of a supercapacitor
Library
Modelica/Electrical/Batteries/BatteryStacks
Description
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
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_Vnom | Vnom | Nominal voltage | Scalar | |
mo_V0 | V0 | Initial voltage | Scalar | |
mo_C | C | Capacitance | Scalar | |
mo_Qnom | Qnom | Nominal charge | Scalar | |
mo_Rs | Rs | Series resistance | Scalar | |
mo_T_ref | T_ref | Reference temperature | Scalar | |
mo_alpha | alpha | Temperature coefficient of resistance at T_ref | Scalar | |
mo_Idis | Idis | Self-discharge current at nominal voltage | Scalar | |
mo_useHeatPort | useHeatPort | =true, if HeatPort is enabled | Number | 0 |
mo_T | T | Fixed device temperature if useHeatPort = false | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'v' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
p | implicit | Positive electrical pin | input | 1 |
n | implicit | Negative electrical pin | output | 1 |
Port 3 | implicit | Optional port to which dissipated losses are transported in form of heat | input | mo_useHeatPort |