Click here to Skip to main content
12,702,455 members (36,627 online)

Algorithms

 
GeneralRe: Running out of Memory - Maths Check Pin
Stefan_Lang11-Sep-12 23:46
memberStefan_Lang11-Sep-12 23:46 
AnswerRe: Running out of Memory - Maths Check Pin
Edward Giles26-Jun-13 20:35
memberEdward Giles26-Jun-13 20:35 
QuestionPDF417 generator and reader supports Arabic Pin
dinadido28-Aug-12 9:19
memberdinadido28-Aug-12 9:19 
AnswerCross post. Pin
SoMad28-Aug-12 12:10
memberSoMad28-Aug-12 12:10 
QuestionA Modelling Question Pin
Roger Wright21-Aug-12 14:01
memberRoger Wright21-Aug-12 14:01 
AnswerRe: A Modelling Question Pin
Peter_in_278021-Aug-12 14:25
memberPeter_in_278021-Aug-12 14:25 
GeneralRe: A Modelling Question Pin
Roger Wright21-Aug-12 16:38
memberRoger Wright21-Aug-12 16:38 
GeneralRe: A Modelling Question Pin
Peter_in_278021-Aug-12 17:08
memberPeter_in_278021-Aug-12 17: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 17:51
memberRoger Wright21-Aug-12 17:51 
QuestionC# XNA 4 AI for path Pin
TechXSoftware19-Aug-12 19:39
memberTechXSoftware19-Aug-12 19:39 
AnswerRe: C# XNA 4 AI for path Pin
jk chan19-Aug-12 22:44
memberjk chan19-Aug-12 22:44 
GeneralRe: C# XNA 4 AI for path Pin
TechXSoftware19-Aug-12 23:05
memberTechXSoftware19-Aug-12 23:05 
GeneralRe: C# XNA 4 AI for path Pin
jk chan19-Aug-12 23:08
memberjk chan19-Aug-12 23:08 
GeneralRe: C# XNA 4 AI for path Pin
Arthur F Souza4-Sep-12 9:59
memberArthur F Souza4-Sep-12 9:59 
QuestionExtract Circle Features From Image Pin
Karl Sanford19-Jul-12 10:42
memberKarl Sanford19-Jul-12 10:42 
AnswerRe: Extract Circle Features From Image Pin
Luc Pattyn19-Jul-12 10:58
mvpLuc Pattyn19-Jul-12 10:58 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford19-Jul-12 11:06
memberKarl Sanford19-Jul-12 11:06 
GeneralRe: Extract Circle Features From Image Pin
Legor23-Aug-12 2:06
memberLegor23-Aug-12 2:06 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford20-Jul-12 9:49
memberKarl Sanford20-Jul-12 9:49 
AnswerRe: Extract Circle Features From Image Pin
Alan Balkany23-Jul-12 5:14
memberAlan Balkany23-Jul-12 5:14 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford23-Jul-12 5:17
memberKarl Sanford23-Jul-12 5:17 
GeneralRe: Extract Circle Features From Image Pin
Alan Balkany23-Jul-12 5:26
memberAlan Balkany23-Jul-12 5:26 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford23-Jul-12 5:29
memberKarl Sanford23-Jul-12 5:29 
GeneralRe: Extract Circle Features From Image -- clarification Pin
Alan Balkany23-Jul-12 14:44
memberAlan Balkany23-Jul-12 14:44 
AnswerRe: Extract Circle Features From Image Pin
Andrew Kirillov24-Aug-12 13:44
memberAndrew Kirillov24-Aug-12 13: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.


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 22 Jan 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid