Skip to content

Commit

Permalink
refactor: update directory path for FPC surrogate model in build func…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
zacharybinger committed Nov 26, 2024
1 parent ab80321 commit f58aed5
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,12 @@ def build_fpc(m):
energy = m.fs.energy

print(f'\n{"=======> BUILDING FPC SYSTEM <=======":^60}\n')
cwd = os.getcwd()
parent_dir = os.path.abspath(
os.path.join(os.path.abspath(__file__), "..", "..", "..", "..", "..")
)

# file = cwd + "/src/watertap_contrib/reflo/solar_models/surrogate/flat_plate/"
surrogate_dir = os.path.join(
cwd,
"src",
"watertap_contrib",
"reflo",
parent_dir,
"solar_models",
"surrogate",
"flat_plate",
Expand Down

0 comments on commit f58aed5

Please sign in to comment.