Skip to content

Commit

Permalink
Limit damage curve by Icw value
Browse files Browse the repository at this point in the history
  • Loading branch information
manuvarkey committed Apr 19, 2024
1 parent 5412cf4 commit ad08f8c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gelectrical/elementmodel/line.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,9 +1337,8 @@ def calculate_damage_curve(self):
i_pk = self.fields['i_pk']['value']*1000 * self.fields['parallel']['value']
curve_u = [('point', i_z, 3600),
('point', i_cw/math.sqrt(10), 10),
#('point', i_cw, 1),
('point', i_pk, i_cw**2/i_pk**2),
('point', i_pk, 0.01)]
('point', i_cw, 1),
('point', i_cw, 0.01)]
curve_l = []
param = {}
curves = {'curve_u': curve_u, 'curve_l': curve_l}
Expand Down

0 comments on commit ad08f8c

Please sign in to comment.