<gh_stars>1-10
'''
Created on Aug 3, 2015

@author: annette
'''
####################
# Running config
####################

debug= False

#input data
dataSet="Sample"


#sleep time between execution loops
# sleeptime=1 => 1s of emulator = gl.acc seconds of real time
# sleeptime=0 => run at processor speed
sleeptime=1

#start emulator for emulating powerflow of whole physical system (PV, battery, ...) 
doUpdates=True
# use individualConfig.csv file for configuring battery and PV size for each house
individualConf=True 

#save indivudual status to DB (similar table as in reality)
saveIndividualToDB=False
#save cummulative summary to csv file
saveToSummaryToCSV=True
#save all the individual houses status to CSV file
saveIndividualToCSV=True


# # #################
# # # losses
# # #################
# 
# #loss = a*load +c
constantSystemLoss = 17.5
# 
       
#DCDC converter losses
DCCstLoss = 4.5
DCChargeLoss = 71
DCDischargeLoss = 55
#     
#UPS battery_mode loss taken from DC 
battModeLoss_a = 0.140 
battModeLoss_c = 129
              
# UPS battery_mode loss taken from AC 
transLoss_a = 0.027
transLoss_c = 57
              
#bypass and trans loss taken from AC
bypassModeLoss_a = 0.033
bypassModeLoss_c = 67
             
#AC Charge loss taken from AC
ACChargeLoss = 10 #???
         
#========== UPS SETUP ========#
UPS_TRIGGER_BATT_OFF = 30
UPS_TRIGGER_BATT_ON = 35
UPS_TRIGGER_AC_OFF = 25
UPS_TRIGGER_AC_ON = 20


####################
# System setup onfig
####################
# voltage
batteryVoltage = 48

# ac charge limit
ACChargeAmount = 150#350*2.5

#default battery size 
default_batterySize = 4800.0

#PV size 
default_Area=18*1.2 # default Area
r=0.19 #panel yield
pr=0.9 #performance factor

#pv and battery size for each house (initilized in inputData)
batterySize={}
pvc_sol_reg={}

#######################
# runtime config
#######################

dburl='http://temp.com'
summaryPath='data/output/summary.csv'
indivLogPath='data/output/indivLog.csv'

b_host = "0.0.0.0"
b_port = 4390
#set_url = ":4380/remote/set?"

#Modes
modes={
"0x0000": 'Waiting',
"0x0002": 'Heteronomy CV Discharging', 
"0x0014": 'Grid Autonomy Mode',
"0x0041": 'Heteronomy CV Charging - grid current limited'
}
modesOps={
"0x0000": 'Waiting',
"0x0002": 'Heteronomy CV', 
"0x0014": 'Grid Autonomy',
"0x0041": 'Heteronomy CV'
}
modesRunning={
"0x0000": 'off',
"0x0002": 'discharge', 
"0x0014": 'discharge', #grid autonomy mode can charge and discharge but we only use it in discharging mode
"0x0041": 'charge'
}

'''
Created on Aug 3, 2015

@author: annette
'''
####################
# Running config
####################

debug= False

#input data
dataSet="Sample"


#sleep time between execution loops
# sleeptime=1 => 1s of emulator = gl.acc seconds of real time
# sleeptime=0 => run at processor speed
sleeptime=1

#start emulator for emulating powerflow of whole physical system (PV, battery, ...) 
doUpdates=True
# use individualConfig.csv file for configuring battery and PV size for each house
individualConf=True 

#save indivudual status to DB (similar table as in reality)
saveIndividualToDB=False
#save cummulative summary to csv file
saveToSummaryToCSV=True
#save all the individual houses status to CSV file
saveIndividualToCSV=True


# # #################
# # # losses
# # #################
# 
# #loss = a*load +c
constantSystemLoss = 17.5
# 
       
#DCDC converter losses
DCCstLoss = 4.5
DCChargeLoss = 71
DCDischargeLoss = 55
#     
#UPS battery_mode loss taken from DC 
battModeLoss_a = 0.140 
battModeLoss_c = 129
              
# UPS battery_mode loss taken from AC 
transLoss_a = 0.027
transLoss_c = 57
              
#bypass and trans loss taken from AC
bypassModeLoss_a = 0.033
bypassModeLoss_c = 67
             
#AC Charge loss taken from AC
ACChargeLoss = 10 #???
         
#========== UPS SETUP ========#
UPS_TRIGGER_BATT_OFF = 30
UPS_TRIGGER_BATT_ON = 35
UPS_TRIGGER_AC_OFF = 25
UPS_TRIGGER_AC_ON = 20


####################
# System setup onfig
####################
# voltage
batteryVoltage = 48

# ac charge limit
ACChargeAmount = 150#350*2.5

#default battery size 
default_batterySize = 4800.0

#PV size 
default_Area=18*1.2 # default Area
r=0.19 #panel yield
pr=0.9 #performance factor

#pv and battery size for each house (initilized in inputData)
batterySize={}
pvc_sol_reg={}

#######################
# runtime config
#######################

dburl='http://temp.com'
summaryPath='data/output/summary.csv'
indivLogPath='data/output/indivLog.csv'

b_host = "0.0.0.0"
b_port = 4390
#set_url = ":4380/remote/set?"

#Modes
modes={
"0x0000": 'Waiting',
"0x0002": 'Heteronomy CV Discharging', 
"0x0014": 'Grid Autonomy Mode',
"0x0041": 'Heteronomy CV Charging - grid current limited'
}
modesOps={
"0x0000": 'Waiting',
"0x0002": 'Heteronomy CV', 
"0x0014": 'Grid Autonomy',
"0x0041": 'Heteronomy CV'
}
modesRunning={
"0x0000": 'off',
"0x0002": 'discharge', 
"0x0014": 'discharge', #grid autonomy mode can charge and discharge but we only use it in discharging mode
"0x0041": 'charge'
}
Created on Aug 3, 2015  @author: annette #################### # Running config #################### #input data #sleep time between execution loops # sleeptime=1 => 1s of emulator = gl.acc seconds of real time # sleeptime=0 => run at processor speed #start emulator for emulating powerflow of whole physical system (PV, battery, ...) # use individualConfig.csv file for configuring battery and PV size for each house #save indivudual status to DB (similar table as in reality) #save cummulative summary to csv file #save all the individual houses status to CSV file # # ################# # # # losses # # ################# # # #loss = a*load +c # #DCDC converter losses # #UPS battery_mode loss taken from DC # UPS battery_mode loss taken from AC #bypass and trans loss taken from AC #AC Charge loss taken from AC #??? #========== UPS SETUP ========# #################### # System setup onfig #################### # voltage # ac charge limit #350*2.5 #default battery size #PV size # default Area #panel yield #performance factor #pv and battery size for each house (initilized in inputData) ####################### # runtime config ####################### #set_url = ":4380/remote/set?" #Modes #grid autonomy mode can charge and discharge but we only use it in discharging mode