Regensteiner
Mechanical
- Sep 2, 2013
- 9
Hi,
I am working with simple energy model composed of a PV, loads and battery.
The model is fed by measured data (sample rate one minute).
The battery model (input AC power set-point, output AC power) was tested separately and it includes a power control algorithm (PI) and max. voltage control. The test of this sub-model was done with a sample rate of one second and it looks OK.
The complete model (all three models) is working fine if the simulation time is not long. If I carry out a annual simulation it took hours.
I have to mention that I have used a discrete solver, with variable steps size.
If I fix the sample time to one minute, and also adjust the sample rate of the two PI controller, the controllers go mad.
Can somebody give some advise?
Cheers,
RS
I am working with simple energy model composed of a PV, loads and battery.
The model is fed by measured data (sample rate one minute).
The battery model (input AC power set-point, output AC power) was tested separately and it includes a power control algorithm (PI) and max. voltage control. The test of this sub-model was done with a sample rate of one second and it looks OK.
The complete model (all three models) is working fine if the simulation time is not long. If I carry out a annual simulation it took hours.
I have to mention that I have used a discrete solver, with variable steps size.
If I fix the sample time to one minute, and also adjust the sample rate of the two PI controller, the controllers go mad.
Can somebody give some advise?
Cheers,
RS