bim2sim.plugins.PluginEnergyPlus.test.unit.task package

Submodules

bim2sim.plugins.PluginEnergyPlus.test.unit.task.test_hash_function module

class bim2sim.plugins.PluginEnergyPlus.test.unit.task.test_hash_function.TestHashFunction(methodName='runTest')

Bases: TestCase

setUp()

Hook method for setting up the test fixture before exercising it.

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_generate_hash_and_write_to_idf()

Unit test: generate IFC hash and prepend to IDF.

bim2sim.plugins.PluginEnergyPlus.test.unit.task.test_weather module

class bim2sim.plugins.PluginEnergyPlus.test.unit.task.test_weather.PluginWeatherDummyEP

Bases: Plugin

default_tasks: List[Type[ITask]] = [<class 'bim2sim.tasks.common.load_ifc.LoadIFC'>, <class 'bim2sim.tasks.common.create_elements.CreateElementsOnIfcTypes'>, <class 'bim2sim.tasks.common.weather.Weather'>]
name: str = 'EnergyPlus'
sim_settings

alias of EnergyPlusSimSettings

class bim2sim.plugins.PluginEnergyPlus.test.unit.task.test_weather.TestWeather(methodName='runTest')

Bases: TestCase

Tests the weather task for loading weather files for simulations.

tearDown()

Hook method for deconstructing the test fixture after testing it.

test_weather_energyplus()

Test if the weather file is correctly set for energyplus.