FZJ-IEK3-VSA / HiSim

HiSim - House Infrastructure Simulator
MIT License
30 stars 15 forks source link

Loading custom load profile generator #369

Open MFaisalZaki opened 1 week ago

MFaisalZaki commented 1 week ago

I am facing an issue regarding the load profiles generator (lpg). I managed to create a district of 6 houses (3 running on gas heaters and the rest running on heat pumps), and I am stuck with the load profile since all 6 houses are using the default load profile.

My question is, how can I load a custom load profile per household?

Hoppe-J commented 1 week ago

Hi,

take a look at the config of the "loadprofilegenerator_utsp_connector.py". There you can set the name of your predefine profile. If you follow the model and the name of the profile, you come to the "utils.py" model. In this model you define the path, where your profiles are. You can do it the same way as the predefinded "CHR01 Couple both at Work" loadprofile is implemented, just with your profile and profile name and path. So every singel house can have an other loadprofile.

MFaisalZaki commented 1 week ago

Hi @Hoppe-J, thanks for your reply. I have modified the utils.py and now I am able to load different load profiles. However, I am facing another issue. When I plot the AdvancedHeatPumpHPLib for not households they are identical even thought the loadprofiles are not. BUI1-ElectricalInputPower BUI2-ElectricalInputPower

Here is the loadprofiles I used, and here is the modified files. BUI1.zip BUI2.zip

Please note that I have slightly modified the district example to give it a try. modified-files.zip

Do you have any ideas what possible I did wrong? thanks.