Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Load to test battery model

Load to test battery model

Hello,

right now I'm developing a battery model. Until now I used the Modelica.Electrical.Analog.Sources.SignalCurrent model of Modelica and simulating with SignalCurrent delivered good results.
Now for the next step, I need something like SignalCurrent but I want to be able to say, how many Watts or Kilowatts I need at a specific time window.
For example:

0-10 sec: 1 kW
10-20 sec: 2kW
20-30 sec: -500W etc.

Does any library have something like this?

Many thanks in advance.

Re: Load to test battery model

Re: Load to test battery model

That is my intention, but I need to feed the data in the table into a load.
This is how I'm using a 1D Lookup table. I'm feeding the data in the voltage source.
https://imgur.com/a/7Erepq5
But I need something like PowerSouce.

Re: Load to test battery model

So, I found just the right thing I was looking for.

ElectricalEnergyStorage.Sources.Loads.SignalPower

With a lookup table I can tell at what time which Power is needed.

There are 0 guests and 0 other users also viewing this topic