Skip to content

Commit a3a3eaa

Browse files
refactor(tutorial3): replace NaN with nothing for resistance, capacitance, and inductance
1 parent 4834c46 commit a3a3eaa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/tutorial3.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ datasheet_info = NominalData(
155155
U=525.0, # Phase (pole)-to-phase (pole) voltage [kV]
156156
conductor_cross_section=1600.0, # [mm²]
157157
screen_cross_section=1000.0, # [mm²]
158-
# resistance=NaN, # DC resistance [Ω/km]
159-
# capacitance=NaN, # Capacitance [μF/km]
160-
# inductance=NaN, # Inductance in trifoil [mH/km]
158+
resistance=nothing, # DC resistance [Ω/km]
159+
capacitance=nothing, # Capacitance [μF/km]
160+
inductance=nothing, # Inductance in trifoil [mH/km]
161161
)
162162
cable_design = CableDesign(cable_id, core_cc, nominal_data=datasheet_info)
163163

0 commit comments

Comments
 (0)