Click here to Skip to main content
15,887,285 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Running out of Memory - Maths Check Pin
Stefan_Lang11-Sep-12 22:46
Stefan_Lang11-Sep-12 22:46 
AnswerRe: Running out of Memory - Maths Check Pin
Edward Giles26-Jun-13 19:35
Edward Giles26-Jun-13 19:35 
QuestionPDF417 generator and reader supports Arabic Pin
dinadido28-Aug-12 8:19
dinadido28-Aug-12 8:19 
AnswerCross post. Pin
SoMad28-Aug-12 11:10
professionalSoMad28-Aug-12 11:10 
QuestionA Modelling Question Pin
Roger Wright21-Aug-12 13:01
professionalRoger Wright21-Aug-12 13:01 
AnswerRe: A Modelling Question Pin
Peter_in_278021-Aug-12 13:25
professionalPeter_in_278021-Aug-12 13:25 
GeneralRe: A Modelling Question Pin
Roger Wright21-Aug-12 15:38
professionalRoger Wright21-Aug-12 15:38 
GeneralRe: A Modelling Question Pin
Peter_in_278021-Aug-12 16:08
professionalPeter_in_278021-Aug-12 16:08 
The good thing about simulation is that if it blows up, no physical damage is done! (Just as well, given some of the simulations I've run in the past!)
At each event, you need to update the state of the world (pump 1 is running, so the level in tank 23 is going down at 1000gpm, the pressure in the pipe at point X is ... ) then predict what "nonlinear" events are going to happen and when (tank 23 will reach lower limit switch level in 18 minutes, tank 28 will start filling at 1000gpm in 7 minutes ...) then plug them in as future events. All the continuous stuff (like solving DEs Poke tongue | ;-P ) is hidden in the 'prediction' phase of event handling.

I must admit, the first few serious simulations I wrote, the system behaviour stuff was hard-coded. The event handling skeleton and utility functions were reused, and slowly morphed into a more general purpose beast that could actually be described as a 'package'. Sadly, it's all faded into history. Last seen in the bucket "things I might port from Fortran77 to C".

The size of your system is NOT an issue for getting a simulation running. If you can model one station, then adding five more (even with different parameters) is trivial.

If you want to continue this conversation offline, feel free.

Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

GeneralRe: A Modelling Question Pin
Roger Wright21-Aug-12 16:51
professionalRoger Wright21-Aug-12 16:51 
QuestionC# XNA 4 AI for path Pin
C.CoderCreator19-Aug-12 18:39
C.CoderCreator19-Aug-12 18:39 
AnswerRe: C# XNA 4 AI for path Pin
jk chan19-Aug-12 21:44
jk chan19-Aug-12 21:44 
GeneralRe: C# XNA 4 AI for path Pin
C.CoderCreator19-Aug-12 22:05
C.CoderCreator19-Aug-12 22:05 
GeneralRe: C# XNA 4 AI for path Pin
jk chan19-Aug-12 22:08
jk chan19-Aug-12 22:08 
GeneralRe: C# XNA 4 AI for path Pin
Arthur F Souza4-Sep-12 8:59
Arthur F Souza4-Sep-12 8:59 
QuestionExtract Circle Features From Image Pin
Karl Sanford19-Jul-12 9:42
professionalKarl Sanford19-Jul-12 9:42 
AnswerRe: Extract Circle Features From Image Pin
Luc Pattyn19-Jul-12 9:58
sitebuilderLuc Pattyn19-Jul-12 9:58 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford19-Jul-12 10:06
professionalKarl Sanford19-Jul-12 10:06 
GeneralRe: Extract Circle Features From Image Pin
Legor23-Aug-12 1:06
Legor23-Aug-12 1:06 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford20-Jul-12 8:49
professionalKarl Sanford20-Jul-12 8:49 
AnswerRe: Extract Circle Features From Image Pin
Alan Balkany23-Jul-12 4:14
Alan Balkany23-Jul-12 4:14 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford23-Jul-12 4:17
professionalKarl Sanford23-Jul-12 4:17 
GeneralRe: Extract Circle Features From Image Pin
Alan Balkany23-Jul-12 4:26
Alan Balkany23-Jul-12 4:26 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford23-Jul-12 4:29
professionalKarl Sanford23-Jul-12 4:29 
GeneralRe: Extract Circle Features From Image -- clarification Pin
Alan Balkany23-Jul-12 13:44
Alan Balkany23-Jul-12 13:44 
AnswerRe: Extract Circle Features From Image Pin
Andrew Kirillov24-Aug-12 12:44
Andrew Kirillov24-Aug-12 12:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.