Charger - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Charger

Battery Charger model

 

Description

Equations

Variables

Connections

Parameters

Description

The Charger component models a battery charger with settable current and voltage limits. The charging current is constant, Imax, until the nominal charging voltage, Vnom is reached, at which point that voltage is maintained. The charger will not sink current.

An optional heat port senses the battery temperature. If the heat port is enabled, a specified temperature coefficient (TC) adjusts the charging voltage with temperature.

An optional boolean input turns the charger on and off.

Equations

{TheatPort=T;¬useHeatPort

{ich&equals;0&comma;s&equals;1useOnSignal¬onv&equals;voc1&plus;s&comma;ich&equals;Imaxs<0v&equals;voc&comma;ich&equals;Imax1ss<1v&equals;vocs&comma;ich&equals;0otherwise

i&equals;ip&equals;in&equals;ich

v&equals;vpvn

voc&equals;Vnom&plus;TCTheatPortTref

LossPower&equals;0

Variables

Name

Units

Description

Modelica ID

v

V

Output voltage

v

i

A

Current into charger

i

LossPower

W

Loss power leaving component via heatPort

LossPower

TheatPort

K

Temperature of heatPort

T_heatPort

Connections

Name

Type

Description

Modelica ID

p

Electrical

Positive electrical pin

p

n

Electrical

Negative electrical pin

n

on

Boolean input

Conditional boolean signal to enable charger

on

heatPort

Thermal

Conditional heat port

heatPort

Parameters

Name

Default

Units

Description

Modelica ID

Vnom

1

V

Nominal charging voltage

Vnom

Imax

1

A

Maximum charging current

Imax

Use on signal

false

 

True enables boolean on signal

useOnSignal

Use heat port

false

 

True enables heat port

useHeatPort

TC

0

VK

Temperature coefficient (V/K)

TC

Tref

298.15

K

Reference temperature

Tref

See Also

Battery Library Overview