ce_wltp1 = electrical.CombinationEvolution(evolution1=[t_wltp1],
                                           evolution2=[p_wltp1],
                                           name='WLTP1 profile')
ce_wltp2 = electrical.CombinationEvolution(evolution1=[t_wltp2],
                                           evolution2=[p_wltp2],
                                           name='WLTP2 profile')
ce_wltp3 = electrical.CombinationEvolution(evolution1=[t_wltp3],
                                           evolution2=[p_wltp3],
                                           name='WLTP3 profile')
ce_load = electrical.CombinationEvolution(evolution1=[t_load],
                                          evolution2=[p_load],
                                          name='Load Profile')

load_bat = electrical.PowerProfile(soc_init=0.05 * 180000,
                                   combination_evolutions=[ce_load],
                                   loop=True,
                                   soc_end=0.95 * 180000,
                                   charger=True,
                                   name='Load profile')
end_bat = electrical.PowerProfile(combination_evolutions=[ce_end],
                                  loop=False,
                                  power_accuracy=0.2,
                                  soc_init=0.1 * 180000,
                                  name='End profile')
wltp_bat = electrical.PowerProfile(
    combination_evolutions=[ce_wltp1, ce_wltp2, ce_wltp3],
    loop=True,
    power_accuracy=0.2,
    soc_init=0.95 * 180000,
    max_loop=1,
    soc_end=0.1 * 180000,
    use_selection=False,
예제 #2
0
                                evolution2=[p_wltp1],
                                 name='WLTP1 profile')
ce_wltp2 = electrical.CombinationEvolution(evolution1=[t_wltp2],
                                evolution2=[p_wltp2],
                                name='WLTP2 profile')
ce_wltp3 = electrical.CombinationEvolution(evolution1=[t_wltp3],
                                evolution2=[p_wltp3],
                                name='WLTP3 profile')
ce_load = electrical.CombinationEvolution(evolution1=[t_load],
                               evolution2=[p_load],
                               name='Load Profile')


load_bat = electrical.PowerProfile(soc_init=0.05*59.5*3600,
                        combination_evolutions=[ce_load],
                        loop=True,
                        soc_end=0.95*59.5*3600,
                        use_selection=True,
                        name='Load profile')
end_bat = electrical.PowerProfile(combination_evolutions=[ce_end],
                       loop=False,
                       power_accuracy=0.05,
                       soc_init=0.2*59.5*3600,
                       name='End profile')
wltp_bat = electrical.PowerProfile(combination_evolutions=[ce_wltp2],
                        loop=True,
                        power_accuracy=0.05,
                        soc_init=0.95*59.5*3600,
                        max_loop=50,
                        soc_end=0.2*59.5*3600,
                        use_selection=True,
                        name='WLTP profile')
예제 #3
0
p_wltp = electrical.Evolution(list(POWER_PROFILE))
t_load = electrical.Evolution(list(range(10)))
p_load = electrical.Evolution([1e5]*10)
t_end = electrical.Evolution(list(range(10)))
p_end = electrical.Evolution([-2e4]*10)

ce_end = electrical.CombinationEvolution(evolution1 = [t_end],
                                        evolution2 = [p_end])
ce_wltp = electrical.CombinationEvolution(evolution1 = [t_wltp],
                                        evolution2 = [p_wltp])
ce_load = electrical.CombinationEvolution(evolution1 = [t_load],
                                        evolution2 = [p_load])


load_bat = electrical.PowerProfile(soc_init = 0.05*180000, combination_evolutions = [ce_load],
                                   loop = True, soc_end = 0.95*180000,
                                  charger = True)
end_bat = electrical.PowerProfile(combination_evolutions = [ce_end],  loop = False,
                                  power_accuracy = 0.2, soc_init = 0.1*180000)
wltp_bat = electrical.PowerProfile(combination_evolutions = [ce_wltp],  loop = True,
                                  power_accuracy = 0.2, soc_init = 0.95*180000,
                                  max_loop = 1,
                                  soc_end = 0.1*180000, use_selection = False)

comb_profile_wltp = electrical.CombinationPowerProfile([wltp_bat], name='wltp_profil')
comb_profile_load = electrical.CombinationPowerProfile([load_bat], name='load_profil')
comb_profile_end = electrical.CombinationPowerProfile([end_bat], name='end_soc_profil')

power_pack_electric_simulator = electrical.PowerPackElectricSimulator(bms = bms1,
                  combination_profils = [comb_profile_load, comb_profile_wltp, comb_profile_end],
                  battery_results = [electrical.ElecBatteryResult()]*3,