[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnucap-devel] monitors
From: |
Felix Salfelder |
Subject: |
[Gnucap-devel] monitors |
Date: |
Sat, 27 Aug 2016 09:34:16 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Aug 25, 2016 at 10:30:12AM +0200, Felix Salfelder wrote:
> will try to implement a meter that reads from probes. later...
put something together, see [1].
- a "probe" function (requires a patched expression parser [2]). this
allows you to access probes from parameter expressions.
- an "expression evaluator". inspired by the (dysfunctional) qucsator
"eqn" device. it takes as many parameters as you like. these are
evaluated (in order) during simulation. the values are accessible as
probes.
- an integrator. takes one parameter expression as argument. provides
the integral as a probe.
all of this does not use nets and nodes. you cant model components with
it, but that's not the intent! .. just see the included example (.gc
files).
cheers
felix
[1] https://github.com/gnucap/gnucap-mon
[2] http://git.savannah.gnu.org/cgit/gnucap.git/log/?h=quoted_expressions