You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bounds: has no where:, so a mixed fleet merges its fixed and free capacities into a data-prep column #262
Prompt: Maybe we should transfer all of them from lpspec to mathspec and close them in lpspec? Lets go through one by one.
Note
The following content was generated by AI. Moved from fluxopt/lpspec#1220, which holds the evidence — probes, corpus audits and the ports behind it — and is closed against this issue.
What can be improved?
The language half of the upstream issue; the port that exercises the
equal-bounds pin on a real mixed fleet stays there.
declarations.md offers the equal-bounds pin as the answer to a quantity that is a decision in one model
and data in another: bind lower and upper to the same value where it is
fixed, and one equation serves both.
Within one model it does not reach the ordinary case, because bounds: has
no where:. A fleet where some entities have a fixed capacity and the rest are
free needs a merged column — the fixed value where fixed, the maximum or inf where free — built in data prep. A fact the model file already states,
"this entity's capacity is given", leaves the file and reappears as a column
nothing declares the meaning of. That is the same tax as pushing a regime mask
into data, one layer down: at the bounds rather than at the constraint.
Everything needed is already declared — the mask is p_nom_set being present,
which the language says elsewhere. This is ergonomics, not new power:
today's answer works and produces the same LP.
Also worth checking here
The pin's fitness for the case the docs advertise it for is unverified — no
model in examples/ uses it for a mixed fleet, and the upstream port mirrors
PyPSA's two-name split instead. So declarations.md's sentence reads as
covering a case nothing exercises.
Related: #261, a different restriction on the same field.
Note
The following content was generated by AI. Moved from fluxopt/lpspec#1220, which holds the evidence — probes, corpus audits and the ports behind it — and is closed against this issue.
What can be improved?
The language half of the upstream issue; the port that exercises the
equal-bounds pin on a real mixed fleet stays there.
declarations.md offers the
equal-bounds pin as the answer to a quantity that is a decision in one model
and data in another: bind
lowerandupperto the same value where it isfixed, and one equation serves both.
Within one model it does not reach the ordinary case, because
bounds:hasno
where:. A fleet where some entities have a fixed capacity and the rest arefree needs a merged column — the fixed value where fixed, the maximum or
infwhere free — built in data prep. A fact the model file already states,"this entity's capacity is given", leaves the file and reappears as a column
nothing declares the meaning of. That is the same tax as pushing a regime mask
into data, one layer down: at the bounds rather than at the constraint.
Everything needed is already declared — the mask is
p_nom_setbeing present,which the language says elsewhere. This is ergonomics, not new power:
today's answer works and produces the same LP.
Also worth checking here
The pin's fitness for the case the docs advertise it for is unverified — no
model in
examples/uses it for a mixed fleet, and the upstream port mirrorsPyPSA's two-name split instead. So
declarations.md's sentence reads ascovering a case nothing exercises.
Related: #261, a different restriction on the same field.
Version
v0.0.0-alpha.42