bim2sim.plugins.PluginComfort.test.regression package

Submodules

bim2sim.plugins.PluginComfort.test.regression.prepare_regression_tests module

bim2sim.plugins.PluginComfort.test.regression.prepare_regression_tests.prepare_regression_tests()

bim2sim.plugins.PluginComfort.test.regression.test_comfort module

class bim2sim.plugins.PluginComfort.test.regression.test_comfort.RegressionTestComfort

Bases: RegressionTestBase

Class to set up and run EnergyPlus Comfort regression tests.

create_regression_results()

Creates regression results based on simulation model.

If simulation is successful and regression results differ from new simulation results, the user is asked if the results should be overwritten. If simulation is successful and simulation results are same with regression results nothing happens. If simulation is not successful nothing happens.

create_regression_setup()

Create a regression test setup for EnergyPlus.

This method uses the energyplus_regressions library to create a regression test for the passed project EnergyPlus simulation model export.

run_regression_test()

Run the EnergyPlus regression test.

setUp()
tearDown()
weather_file_path() Path
class bim2sim.plugins.PluginComfort.test.regression.test_comfort.TestRegressionComfort(methodName='runTest')

Bases: RegressionTestComfort, TestCase

Regression tests for EnergyPlus.

test_regression_AC20_FZK_Haus()

Run EnergyPlus regression test with AC20-FZK-Haus.ifc.

test_regression_AC20_FZK_Haus_SB55()

Run EnergyPlus regression test with AC20-FZK-Haus.ifc.

test_regression_DigitalHub_SB89()

Test DigitalHub IFC, includes regression test.