[Ktechlab-devel] simulator
Glen
gcanaday at gmail.com
Mon Nov 10 02:31:56 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If you can write the equation on paper, can you not also write the
simple steps to solving it?
f(i) is too complex. Write (1/2i * log(i)) instead. log(i) should be
built-in.. not the whole equation. Improvements to the models shouldn't
be dependent on improvements to the system as a whole.
- --Glen
Celelibi wrote:
>
> About embedding equations inside the XML. It will be possible describe every
> component with equations only if we can define our own functions.
> But defining a function is useless if you don't know how to solve equation
> containing it. So you need to define a way to solve any equation containing
> that function. But maths says it's not possible.
> Let me explain with a small example.
> You have a dipole for which current/voltage is such as u=f(i)+g(i). Of
> course, you want to calculate i from u. If f is a polynomial and g is
> something that deals with logarithm or exponential, a generic solver will
> have some pain to find something.
> What I try to explain is that embeding equation inside a component
> definition will lead to unsolvable problems.
>
> I think a more powerful solution would be to make the XML say something like
> :
> MyComponent behave following That_Model with parameters "voltage in pin1",
> "current in pin2" etc.
>
> I really really think embedding equations is a bad idea.
>
>
> Celelibi
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ktechlab-devel mailing list
> Ktechlab-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ktechlab-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkXnRgACgkQLstl3vProOCMcACfVJvX7XZ4J78hbsCakbEaFywN
QDAAnjRHM5cVLFlXALeg/xByyfYiNDiA
=q7A1
-----END PGP SIGNATURE-----
More information about the Ktechlab-devel
mailing list