SuperCap

Simple model of a supercapacitor

    SuperCap

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

SuperCap_0

NameLabelDescriptionData TypeValid 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
1

mo_T

T

Fixed device temperature if useHeatPort = false

Scalar

SuperCap_1

NameLabelDescriptionData TypeValid 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'
'i'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

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

See Also