Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix energy intensity utsp #373

Merged
merged 3 commits into from
Dec 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading