Skip to content

Commit

Permalink
Enhance 205 example to also generate IDF.
Browse files Browse the repository at this point in the history
  • Loading branch information
nealkruis committed Sep 18, 2024
1 parent 39ed619 commit 6f13d8b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion examples/generate-205.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@

seer2 = 14.3
hspf2 = 7.5
size_in = resdx.fr_u(7.5, "ton_ref")


dx_unit = resdx.rating_solver.make_rating_unit(
staging_type=resdx.StagingType.TWO_STAGE, seer=seer2, hspf=hspf2
staging_type=resdx.StagingType.TWO_STAGE, seer=seer2, hspf=hspf2, q95=size_in
)

size = resdx.to_u(dx_unit.rated_net_total_cooling_capacity[0], "ton_ref")
Expand Down Expand Up @@ -54,3 +56,11 @@
file,
indent=4,
)

resdx.write_idf(
dx_unit,
f"{output_directory_path}/{file_name}-dx.RS0004.idf",
"Heat Pump ACDXCoil 1",
resdx.idf.EnergyPlusSystemType.UNITARY_SYSTEM,
autosize=False,
)

0 comments on commit 6f13d8b

Please sign in to comment.