preheat_open.api.mocks

Functions

anonymize_building_model_dict(...)

rtype:

tuple[dict, dict[int, int]]

generate_random_string([length])

generate_unique_random_ints(count[, start, end])

get_component_type_mocks(component_type)

rtype:

list[ComponentCharacteristic]

mock_component_data(date_range, component_type)

rtype:

Series

Classes

CCDailyPeriodic([amplitude, hour_of_day_top])

Component characteristic that adds daily periodic variation.

CCMonotonicAscending()

Component characteristic that creates monotonically ascending data.

CCNoisy([mean, std])

Component characteristic that adds noise to data.

CCRangeConstricted([min, max])

Component characteristic that constrains data to a specific range.

CCYearlyPeriodic([amplitude, day_of_year_top])

Component characteristic that adds yearly periodic variation.

ComponentCharacteristic()

Abstract base class for component characteristics in mock data generation.

MockApiAdapter([mocks_path])

Mock adapter implementation for testing and development purposes.