final_energy_system_model #60

Merged
g_gutierrez merged 113 commits from final_energy_system_model into main 2024-03-14 09:13:21 -04:00
2 changed files with 6 additions and 5 deletions
Showing only changes of commit c77b2254f1 - Show all commits

View File

@ -58,7 +58,8 @@ class EnergyStorageSystem(ABC):
@property
def storage_type(self):
"""
Get storage type from ['electricity', 'thermal', 'chemical', 'lithium_ion', 'sensible', 'latent']
Get storage type from ['electricity', 'thermal', 'chemical',
'lithium_ion', 'lead_acid', 'NiCd', 'sensible', 'latent']
:return: string
"""
return self._storage_type

View File

@ -19,18 +19,18 @@ class ThermalStorageSystem(EnergyStorageSystem):
volume, height, layers, maximum_operating_temperature):
super().__init__(storage_id, name, model_name, manufacturer, storage_type, nominal_capacity, losses_ratio)
self._physical_volume = volume
self._volume = volume
self._height = height
self._layers = layers
self._maximum_operating_temperature = maximum_operating_temperature
@property
def physical_volume(self):
def volume(self):
"""
Get the physical volume of the storage system in cubic meters
:return: float
"""
return self._physical_volume
return self._volume
@property
def height(self):
@ -69,7 +69,7 @@ class ThermalStorageSystem(EnergyStorageSystem):
'storage type': self.storage_type,
'nominal capacity [J]': self.nominal_capacity,
'losses-ratio [J/J]': self.losses_ratio,
'physical volume [m3]': self.physical_volume,
'volume [m3]': self.volume,
'height [m]': self.height,
'layers': _layers,
'maximum operating temperature [Celsius]': self.maximum_operating_temperature