Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Add covered conductor #1134

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions module/powerflow/overhead_line.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ overhead_line::overhead_line(MODULE *mod) : line(mod)
PT_double, "ice_thickness[in]", get_ice_thickness_offset(),
PT_DESCRIPTION, "thickness of ice build-up on lines",

PT_bool, "is_covered", get_is_covered_offset(),
PT_DESCRIPTION, "flag to indicate whether conductor is covered",

NULL) < 1) GL_THROW("unable to publish overhead_line properties in %s",__FILE__);

if (gl_publish_function(oclass, "create_fault", (FUNCTIONADDR)create_fault_ohline)==NULL)
Expand Down
1 change: 1 addition & 0 deletions module/powerflow/overhead_line.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class overhead_line : public line
static overhead_line *defaults;
public:
GL_ATOMIC(double,ice_thickness);
GL_ATOMIC(bool,is_covered);
public:
void recalc(void);
public:
Expand Down