added web front end
This commit is contained in:
@@ -169,6 +169,9 @@ class ToroidCore:
|
||||
@property
|
||||
def cross_section_area_mm2(self) -> float:
|
||||
"""Rectangular cross-section area of the core material."""
|
||||
if self.Ae_mm2 != None:
|
||||
return self.Ae_mm2
|
||||
|
||||
return ((self.OD_mm - self.ID_mm) / 2.0) * self.height_mm
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user