Skip to content

Commit

Permalink
update test_hybrids
Browse files Browse the repository at this point in the history
  • Loading branch information
dguittet committed Mar 14, 2024
1 parent 77c971b commit 55bce13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_hybrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_PVWattsv8WindBatterySingleOwner():
with open(nfc1, "r") as f:
defs = json.load(f)['input']

m = HybridSystem([pv, wind, batt], [so])
m = HybridSystem([pv, wind, batt], 'singleowner')
m.new()
m.pvwatts.SolarResource.solar_resource_file = str(solar_resource_path)
m.wind.Resource.wind_resource_filename = str(wind_resource_path)
Expand All @@ -52,7 +52,7 @@ def test_PVWattsv8WindBatteryHostDeveloper():
with open(nfc1, "r") as f:
defs = json.load(f)['input']

m = HybridSystem([pv, wind, batt], [ur, hd])
m = HybridSystem([pv, wind, batt], 'hostdeveloper')
m.new()
m.pvwatts.SolarResource.solar_resource_file = str(solar_resource_path)
m.wind.Resource.wind_resource_filename = str(wind_resource_path)
Expand All @@ -78,7 +78,7 @@ def test_GenericPVWattsWindFuelCellBatteryHybrid_SingleOwner():
with open(nfc1, "r") as f:
defs = json.load(f)['input']

m = HybridSystem([gensys, pv, wind, fuelcell, batt], [so])
m = HybridSystem([gensys, pv, wind, fuelcell, batt], 'singleowner')
m.new()
m.pvwatts.SolarResource.solar_resource_file = str(solar_resource_path)
m.wind.Resource.wind_resource_filename = str(wind_resource_path)
Expand Down

0 comments on commit 55bce13

Please sign in to comment.