Skip to content

Commit e71bbde

Browse files
committed
Updated create_elements docstring
1 parent 2de6e3d commit e71bbde

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/model.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -594,9 +594,8 @@ end
594594
create_element(m, n::Node, 𝒯, 𝒫, modeltype::EnergyModel)
595595
create_element(m, l::Link, 𝒯, 𝒫, modeltype::EnergyModel)
596596
597-
Default fallback method for an element type if no other method is defined for a given type.
598-
This function calls subfunctions to maintain backwards compatibility and simplify the
599-
differentiation in extension packages.
597+
Calls the create functions for the specific elements to add element specific constraints,
598+
also add resource specific constraints through constraints_resource.
600599
601600
`EnergyModelsBase` provides the user with two element types, [`Link`](@ref) and
602601
[`Node`](@ref EnergyModelsBase.Node):

0 commit comments

Comments
 (0)