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
I have designed a custom model for battery (ESD1) in ANDES to modify Pref and Qref value of ESD1 based on some custom curve.
I used ExtAlgeb in custom model to change the ESD1 output when custom model will be enabled. Code is attached below
If custom model is not added for the battery and I am using battery as it is.
let two battery in ESD1 sheet, with idx ESD1_1 and ESD1_2.
After 5sec of simulation if i am trying to change the battery output through alter command(ssAR.ESD1.alter("pref0", "ESD1_1", 0.5)) then,
ESD1_1: pref0=0.5, then Pref(battery output)=0.5 pu.
ESSD1_2: pref0=0.2, then Pref(battery output)=0.2 pu.
Scenario-2
In the When I add this custom model in ANDES input file along with this battery idx,
let two battery in ESD1 sheet, with idx ESD1_1 and ESD1_2.
let custom model name is CAPCV and in CAPCV sheet, ESD1_1 is added
CAPCV is not enabled (u=0)
After 5sec of simulation if I am trying to change the battery output through alter command(ssAR.ESD1.alter("pref0", "ESD1_1", 0.5) ) then,
ESD1_1: pref0=0.5, then Pref(battery output)=0.25 pu.
ESSD1_2: pref0=0.2, then Pref(battery output)=0.2 pu.
Scenario-3
In the When I add this custom model in ANDES input file along with this battery idx,
let two battery in ESD1 sheet, with idx ESD1_1 and ESD1_2.
let custom model name is CAPCV and in CAPCV sheet, ESD1_1 is added
CAPCV is not enabled (u=0)
After 5sec of simulation if I am trying to enable the CAPCV by making u=1, the CAPCV model is working satisfactorily.
In summery, why battery output is reduced by half (pref0/2) only those which I included in CAPCV sheet even CAPCV is not enabled for that battery. Could you highlight my mistakes in this custom model.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Good Morning Dr. Cui
I have designed a custom model for battery (ESD1) in ANDES to modify Pref and Qref value of ESD1 based on some custom curve.
I used ExtAlgeb in custom model to change the ESD1 output when custom model will be enabled. Code is attached below
Scenario-1
If custom model is not added for the battery and I am using battery as it is.
let two battery in ESD1 sheet, with idx ESD1_1 and ESD1_2.
After 5sec of simulation if i am trying to change the battery output through alter command(
ssAR.ESD1.alter("pref0", "ESD1_1", 0.5)
) then,ESD1_1: pref0=0.5, then Pref(battery output)=0.5 pu.
ESSD1_2: pref0=0.2, then Pref(battery output)=0.2 pu.
Scenario-2
In the When I add this custom model in ANDES input file along with this battery idx,
let two battery in ESD1 sheet, with idx ESD1_1 and ESD1_2.
let custom model name is CAPCV and in CAPCV sheet, ESD1_1 is added
CAPCV is not enabled (u=0)
After 5sec of simulation if I am trying to change the battery output through alter command(
ssAR.ESD1.alter("pref0", "ESD1_1", 0.5)
) then,ESD1_1: pref0=0.5, then Pref(battery output)=0.25 pu.
ESSD1_2: pref0=0.2, then Pref(battery output)=0.2 pu.
Scenario-3
In the When I add this custom model in ANDES input file along with this battery idx,
let two battery in ESD1 sheet, with idx ESD1_1 and ESD1_2.
let custom model name is CAPCV and in CAPCV sheet, ESD1_1 is added
CAPCV is not enabled (u=0)
After 5sec of simulation if I am trying to enable the CAPCV by making u=1, the CAPCV model is working satisfactorily.
In summery, why battery output is reduced by half (pref0/2) only those which I included in CAPCV sheet even CAPCV is not enabled for that battery. Could you highlight my mistakes in this custom model.
Eagerly waiting for your response
Regards
Dr. Rakesh Kumar Panda
Beta Was this translation helpful? Give feedback.
All reactions