Limiter input #194
Answered
by
cuihantao
jinningwang
asked this question in
Internal Design
Limiter input
#194
Replies: 1 comment 1 reply
-
Dummy variables can only be used in equations later.
The input is not taken as an equation. Rather, the v field of u is directly accessed when comparing.
Regards,
Hantao Cui
…On Oct 4, 2021, 11:00 PM -0500, Jinning Wang ***@***.***>, wrote:
Hi Hantao,
I have a question about the Limiter, the input u does not apply dummify like lower and upper. Is it designed so?
Background: sometimes if we have an equation for the Limiter input, it can be redundant to put a new variable as the input, so I'm curious about such design.
Related codes are in discrete.py
...
self.u = u
self.lower = dummify(lower)
self.upper = dummify(upper)
...
Regards,
Jinning
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jinningwang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Hantao,
I have a question about the
Limiter
, the inputu
does not applydummify
likelower
andupper
. Is it designed so?Background: sometimes if we have an equation for the
Limiter
input, it can be redundant to put a new variable as the input, so I'm curious about such design.Related codes are in
discrete.py
Regards,
Jinning
Beta Was this translation helpful? Give feedback.
All reactions