Comments (7)
You also invented a new feature, which is easier to just support. #2789
from modelingtoolkit.jl.
y is missing a guess. The error message needs to be handled but that is trying to throw an error about missing a guess on y which would be required to solve the nonlinear system.
from modelingtoolkit.jl.
Yes, the equations are not satisfiable. Note that it's not (x=>1, y=>1, x^2 + y^2 ~ 1)
, it's (x=>1, y ~ 1, x^2 + y^2 ~ 1)
. That's different. initialization_eqs
can have any nonlinear function. You cannot assume it's always analytically solvable. There is an issue of asking why this one isn't actually simplified out, which may be related to the unsatisfiabiltiy, but you should expect that if you can put in a nonlinear system then you need a guess.
But also, x = 1
, y = 1
, x^2 + y^2 != 1
, so this test case is erroring for good reasons.
from modelingtoolkit.jl.
does y
need to be a guess
even if it's specified in intializtion_eqs
?
from modelingtoolkit.jl.
does y need to be a guess even if it's specified in intializtion_eqs?
This is my doubt too. (and I wonder if is possible to avoid that)
from modelingtoolkit.jl.
As @ChrisRackauckas mentioned, in this case the initialization equations are not satisfiable (x=>1, y=>1, x^2 + y^2 ~ 1).
from modelingtoolkit.jl.
Ok. That makes sense. Thanks
from modelingtoolkit.jl.
Related Issues (20)
- Observed variables are computed even when unused HOT 10
- Optimizing a control signal
- undefvar and bounds error in linearization_function
- Support for callable parameters in `IndexCache` HOT 4
- Warning: Internal error HOT 3
- Missing variables from variable map in second order coupled PDE - but only if fully coupled (?) HOT 2
- High Level example 2 error: ExtraVariablesSystemException: The system is unbalanced
- Replacing tunables of dependent parameter vector fails
- MTK & linearization -- `MTKParameters` access out of bounds
- MTK & Symbolic linearization -- why 2 inputs when I specify 1 input? HOT 1
- Initialization system fails to structural simplify
- Autodiff fails when initial conditions contain dual and non-dual HOT 1
- provide exported function for generating MTKParameters from user parameter maps HOT 5
- `u0_constructor` for SDEProblem HOT 1
- Variables introduced during simplification of 2nd order to first order dont have the correct units.
- Vector ODE duplicating length of intial condition and not shifting equation to observed HOT 1
- Type piracy by DataFrames.jl causes error during SDE simplification
- more than one component definition in if statement `@mtkmodel`
- Reversediff with in optimization problem HOT 1
- `ODEProblem` from `ODESystem` does not sub nested constants
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modelingtoolkit.jl.