Add density to envelope emission calculation
This commit is contained in:
parent
8a92731359
commit
b888e4a1f2
|
@ -10,11 +10,15 @@ Mohammad Reza Seyedabadi mohammad.seyedabadi@mail.concordia.ca
|
|||
|
||||
|
||||
class EnvelopeEmission:
|
||||
def __init__(self, envelope_material_emission,
|
||||
envelope_thickness, envelope_surface):
|
||||
def __init__(self,
|
||||
envelope_material_emission,
|
||||
envelope_thickness,
|
||||
envelope_surface,
|
||||
density):
|
||||
self._envelope_material_emission = envelope_material_emission
|
||||
self._envelope_thickness = envelope_thickness
|
||||
self._envelope_surface = envelope_surface
|
||||
self._density = density
|
||||
|
||||
@property
|
||||
def envelope_material_emission(self):
|
||||
|
@ -28,7 +32,12 @@ class EnvelopeEmission:
|
|||
def envelope_surface(self):
|
||||
return self._envelope_surface
|
||||
|
||||
@property
|
||||
def density(self):
|
||||
return self._density
|
||||
|
||||
def calculate_envelope_emission(self):
|
||||
return self._envelope_material_emission * \
|
||||
self.envelope_thickness * \
|
||||
self._envelope_surface
|
||||
self._envelope_thickness * \
|
||||
self._envelope_surface * \
|
||||
self._density
|
||||
|
|
Loading…
Reference in New Issue
Block a user