dragonfly_iesve.properties.model module¶
Model IES-VE Properties.
- class dragonfly_iesve.properties.model.ModelIesveProperties(host)[source]¶
Bases:
object
IES-VE Properties for Dragonfly Model.
- Parameters:
host – A dragonfly_core Model object that hosts these properties.
- Properties:
host
- apply_properties_from_dict(data)[source]¶
Apply the IES-VE properties of a dictionary to the host Model of this object.
- Parameters:
data – A dictionary representation of an entire dragonfly-core Model. Note that this dictionary must have ModelIesveProperties in order for this method to successfully apply the IESVE properties.
- check_for_extension(raise_exception=True, detailed=False)[source]¶
Check that the Model is valid for IES-VE simulation.
This process includes all relevant dragonfly-core checks as well as checks that apply only for IES-VE.
- Parameters:
raise_exception – Boolean to note whether a ValueError should be raised if any errors are found. If False, this method will simply return a text string with all errors that were found. (Default: True).
detailed – Boolean for whether the returned object is a detailed list of dicts with error info or a string with a message. (Default: False).
- Returns:
A text string with all errors that were found or a list if detailed is True. This string (or list) will be empty if no errors were found.
- property host¶
Get the Model object hosting these properties.