've been tinkering with some custom circuit simulations and ran into a design question that feels a bit like the programming world's constexpr arguments. In my setup, certain parts of the model (say, resistance values or timing constants) don't actually change once the simulation is compiled and run. They're essentially baked into the system from the start.
That got me thinking, what's the smarter way to handle these "fixed" parameters in circuit models? on the one hand, locking them in early makes the whole simulation more predictable and possibly more efficient, because you don't have to recalculate or validate them at runtime. On the other hand, there's a lot of flexibility lost if you decide later you want to modify things without rebuilding the model.
What's the best approach ?
That got me thinking, what's the smarter way to handle these "fixed" parameters in circuit models? on the one hand, locking them in early makes the whole simulation more predictable and possibly more efficient, because you don't have to recalculate or validate them at runtime. On the other hand, there's a lot of flexibility lost if you decide later you want to modify things without rebuilding the model.
What's the best approach ?