Friendly Sam
latest
How to install Friendly Sam
For developers
What Friendly Sam is for
Variables and expressions
Optimization problems
Model basics: Parts and constraints
Flow networks: Nodes and resources
Example model
API reference
Friendly Sam
Docs
»
friendlysam.models.MyopicDispatchModel.remove_part
Edit on GitHub
friendlysam.models.MyopicDispatchModel.remove_part
¶
MyopicDispatchModel.
remove_part
(
part
)
¶
Remove a part from this part.
Parameters:
p
(
Part
or subclass instance) – The part to remove.
Raises:
KeyError
– If the part is not there.