Skip to content

Commit

Permalink
Fix energy intensity utsp (#373)
Browse files Browse the repository at this point in the history
* add energy intensity in utsp

* add energy intensity in utsp
  • Loading branch information
k-rieck authored Dec 18, 2024
1 parent 411486c commit 9ec6160
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions hisim/components/loadprofilegenerator_utsp_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def build(self):
for list_index, list_item in enumerate(self.list_of_file_exists_and_cache_files):
file_exists = list_item[0]
cache_filepath = list_item[1]
print("lpg cache file", cache_filepath)
log.information("Lpg cache filepath " + cache_filepath)

# a cache file exists
if file_exists:
Expand Down Expand Up @@ -1013,11 +1013,12 @@ def prepare_lpg_simulation_config_for_utsp_request(
"""Prepare lpg simulation config for the utsp request."""

simulation_config = lpg_helper.create_basic_lpg_config(
household,
HouseTypes.HT23_No_Infrastructure_at_all,
start_date,
end_date,
self.get_resolution(),
householdref=household,
housetype=HouseTypes.HT23_No_Infrastructure_at_all,
startdate=start_date,
enddate=end_date,
external_resolution=self.get_resolution(),
energy_intensity=self.utsp_config.energy_intensity,
travel_route_set=self.utsp_config.travel_route_set,
transportation_device_set=self.utsp_config.transportation_device_set,
charging_station_set=self.utsp_config.charging_station_set,
Expand Down

0 comments on commit 9ec6160

Please sign in to comment.