Battery

battery – battery model

Synopsis
module generators; class battery { enumeration {UNKNOWN, CONSTANT_V, CONSTANT_PQ, CONSTANT_PF, SUPPLY_DRIVEN, POWER_DRIVEN, VOLTAGE_CONTROLLED, POWER_VOLTAGE_HYBRID} generator_mode ; enumeration {NONE=0, LINEAR_TEMPERATURE=1} additional_controls; enumeration {OFFLINE=1, ONLINE=2} generator_status; enumeration {HOUSEHOLD, SMALL=1, MED_COMMERCIAL, MED_HIGH_ENERGY, LARGE} rfb_size; enumeration {AC=2, DC=1} power_type; enumeration {CHARGING=1, DISCHARGING=2, WAITING=0, FULL=3, EMPTY=4, CONFLICTED=5} battery_state; double number_battery_state_changes; double monitored_power [ W ] ; double power_set_high [ W ] ; double power_set_low [ W ] ; double power_set_high_highT [ W ] ; double power_set_low_highT [ W ] ; double check_power_low [ W ] ; double check_power_high [ W ] ; double voltage_set_high [ V ] ; double voltage_set_low [ V ] ; double deadband [ V ] ; double sensitivity; double high_temperature; double midpoint_temperature; double low_temperature; double scheduled_power [ W ] ; double Rinternal [ Ohm ] ; double V_Max [ V ] ; double I_Max [ A ] ; double E_Max [ Wh ] ; double P_Max [ W ] ; double power_factor; double Energy [ Wh ] ; double efficiency [ unit ] ; double base_efficiency [ unit ] ; double parasitic_power_draw [ W ] ; double Rated_kVA [ kVA ] ; complex V_Out [ V ] ; complex I_Out [ A ] ; complex VA_Out [ VA ] ; complex V_In [ V ] ; complex I_In [ I ] ; complex V_Internal [ V ] ; complex I_Internal [ A ] ; complex I_Prev [ A ] ; double power_transfered; set {A,B,C,N,S} phases; bool use_internal_battery_model; enumeration {UNKNOWN, LI_ION, LEAD_ACID} battery_type; double nominal_voltage [ V ] ; double rated_power [ W ] ; double battery_capacity [ Wh ] ; double round_trip_efficiency [ pu ] ; double state_of_charge [ pu ] ; double battery_load [ W ] ; double reserve_state_of_charge [ pu ] ; }