MediaWiki has been updated to version 1.35.1. Please report any problems here.

Howto talk:Systems Modeling

From FlightGear wiki
Jump to navigation Jump to search

Hello Everybody

I'm trying to create a generic Eletrical circuit by using NASAL for flightgear. Mainly, I use the http://www.buckarooshangar.com/flightgear/electrical_notes.html as en entry point... but in fact, I add and change several items. At the time being, I used the NASAL object programming capabilities, it is not necessary the best solution, but it is a solution... Today, I'm able to modelise the Concorde electrical circuit (some bugs remains). I need to implement the Amperage computation. On an other way, we can use the mathematic tools (matrix computation and other tree analysis tools) to perform the computation.

So, today, I'm trying to finish it, and I will submite it. Chuck (talk) 17:14, 19 October 2013 (UTC) Vincent

Hi & welcome, from a purely technical point of view you may want to check out galvedro's thread at [1] This is a link to the FlightGear forum. - while his focus is slightly different (instrument systems simulation, in particular of gliders), he's also using exclusively Nasal and OOP to create a fairly modular and extensible design by creating property tree abstractions and wrappers that can be chained together in a very elegant fashion. You'll probably recognize just how applicable his design is by having a quick look. He has uploaded his work to gitorious, so that you can easily track his progress (see commit log at [2]. The most relevant commit is at [3]. I suggest to also review the design related comments at [4] This is a link to the FlightGear forum., which would be equally relevant here. To submit your work, you'd ideally use git and gitorious and file a merge request, preferably by posting a request for review via either the devel mailing list, the forum or the issue tracker. To have Nasal code peer-reviewed, just use the Nasal sub forum. AndersG, Philosopher and some others will surely provide some feedback. Depending on how far you have progressed already, I'd consider to team up with galvedro to generalize both approaches and come up with a generic systems simulation framework in Nasal space, where simulation of an electric system or gliding instruments would just be particular instances of supported systems. Let us know if you need any help, and be sure to check out the forum, too. HTH --Hooray (talk) 18:35, 19 October 2013 (UTC)