From 44bb70fc05aed3409ee9e7f339183654ed41da3b Mon Sep 17 00:00:00 2001 From: Tammie Yu Date: Wed, 30 Aug 2023 11:51:39 -0700 Subject: [PATCH] docs(test_methods):Update test --- test/test_methods.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_methods.py b/test/test_methods.py index 848ce67..74ea859 100644 --- a/test/test_methods.py +++ b/test/test_methods.py @@ -2,7 +2,7 @@ from datetime import datetime from frads.methods import TwoPhaseMethod, ThreePhaseMethod, WorkflowConfig from frads.window import GlazingSystem -from frads.epjson2rad import epjson2rad +from frads.epjson2rad import epjson_to_rad from frads.eprad import EnergyPlusModel import frads as fr import numpy as np @@ -116,8 +116,8 @@ def test_eprad_threephase(): gs_ec60.add_glazing_layer(clear_glass_path) gs_ec60.gaps = [((fr.AIR, 0.1), (fr.ARGON, 0.9), 0.0127)] gs_ec60.name = "ec60" - epmodel.add_cfs(gs_ec60) - rad_models = epjson2rad(epmodel, epw=epw_path) + epmodel.add_glazing_system(gs_ec60) + rad_models = epjson_to_rad(epmodel, epw=epw_path) zone = "Perimeter_bot_ZN_1" zone_dict = rad_models[zone] zone_dict["model"]["views"]["view1"] = {"file": view_path, "xres": 16, "yres": 16}