You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In class Buildings.Electrical.DC.Storage.BaseClasses.Charge, the actual power flowing through the battery Pact is computed as
// Charge balance of battery
PAct = if P > 0 then etaCha*P else (2-etaDis)*P;
where the etaCha is charging efficiency, the eatDis is discharging efficiency and the P is the power that should be provide or taken from the battery.
The power taken from the battery during discharge may should be computed as (1/etaDis)*P, rather than (2-etaDis)*P. The two implements have difference results. However, when the discharge efficiency is higher, for example 0.9 showing in below plot, the difference is small.
But when the efficiency is small, for example 0.1 in below plot, the difference becomes significant.
This issue is to check if it is indeed a bug.
check if current implementation has reference to support it
if not, reimplement the calculation.
The text was updated successfully, but these errors were encountered:
In class
Buildings.Electrical.DC.Storage.BaseClasses.Charge
, the actual power flowing through the batteryPact
is computed aswhere the
etaCha
is charging efficiency, theeatDis
is discharging efficiency and theP
is the power that should be provide or taken from the battery.The power taken from the battery during discharge may should be computed as
(1/etaDis)*P
, rather than(2-etaDis)*P
. The two implements have difference results. However, when the discharge efficiency is higher, for example 0.9 showing in below plot, the difference is small.But when the efficiency is small, for example 0.1 in below plot, the difference becomes significant.
This issue is to check if it is indeed a bug.
The text was updated successfully, but these errors were encountered: