Call parent constructor into the children
This commit is contained in:
parent
33c773286c
commit
229f942734
|
@ -11,7 +11,10 @@ class DomesticHotWater(Facility):
|
|||
Domestic Hot Water facilities class
|
||||
"""
|
||||
|
||||
def __init__(self, number_of_baths, number_of_showers, number_of_basin, water_storage_volume):
|
||||
def __init__(self, number_of_baths, number_of_showers, number_of_basin, water_storage_volume, operation_schedules,
|
||||
convective_fraction, latent_fraction, radiant_fraction, total_value_of_heat_dissipation):
|
||||
super().__init__(operation_schedules, convective_fraction, latent_fraction, radiant_fraction,
|
||||
total_value_of_heat_dissipation)
|
||||
self._number_of_baths = number_of_baths
|
||||
self._number_of_showers = number_of_showers
|
||||
self._number_of_basin = number_of_basin
|
||||
|
|
|
@ -11,7 +11,10 @@ class ElectricAppliances(Facility):
|
|||
Electric appliance facilities class
|
||||
"""
|
||||
|
||||
def __init__(self, appliance_electric_power):
|
||||
def __init__(self, appliance_electric_power, operation_schedules, convective_fraction, latent_fraction,
|
||||
radiant_fraction, total_value_of_heat_dissipation):
|
||||
super().__init__(operation_schedules, convective_fraction, latent_fraction, radiant_fraction,
|
||||
total_value_of_heat_dissipation)
|
||||
self._appliance_electric_power = appliance_electric_power
|
||||
|
||||
@property
|
||||
|
|
|
@ -11,7 +11,10 @@ class Hvac(Facility):
|
|||
HVAC facilities class
|
||||
"""
|
||||
|
||||
def __init__(self, temperature_setpoints, hvac_schedules):
|
||||
def __init__(self, temperature_setpoints, hvac_schedules, operation_schedules, convective_fraction, latent_fraction,
|
||||
radiant_fraction, total_value_of_heat_dissipation):
|
||||
super().__init__(operation_schedules, convective_fraction, latent_fraction, radiant_fraction,
|
||||
total_value_of_heat_dissipation)
|
||||
self._temperature_setpoints = temperature_setpoints
|
||||
self._hvac_schedules = hvac_schedules
|
||||
|
||||
|
|
|
@ -11,7 +11,10 @@ class Lighting(Facility):
|
|||
Lighting facilities class
|
||||
"""
|
||||
|
||||
def __init__(self, electric_power):
|
||||
def __init__(self, electric_power, operation_schedules, convective_fraction, latent_fraction, radiant_fraction,
|
||||
total_value_of_heat_dissipation):
|
||||
super().__init__(operation_schedules, convective_fraction, latent_fraction, radiant_fraction,
|
||||
total_value_of_heat_dissipation)
|
||||
"""
|
||||
Constructor
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user