/[ascend]/trunk/test.py
ViewVC logotype

Diff of /trunk/test.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1270 by johnpye, Sun Feb 4 01:01:18 2007 UTC revision 1271 by johnpye, Sun Feb 4 02:00:01 2007 UTC
# Line 642  class TestSteam(AscendSelfTester): Line 642  class TestSteam(AscendSelfTester):
642          T = self.L.findType('dsgsat3')          T = self.L.findType('dsgsat3')
643          M.run(T.getMethod('free_states'))          M.run(T.getMethod('free_states'))
644          # here is the peturbation...          # here is the peturbation...
645          M.qdot_s.setRealValueWithUnits(2000,"W/m")          M.qdot_s.setRealValueWithUnits(1000,"W/m")
646          # IDA has its own initial conditions solver, so no need to call QRSlv here          # IDA has its own initial conditions solver, so no need to call QRSlv here
647          I = ascpy.Integrator(M)          I = ascpy.Integrator(M)
648          I.setEngine('IDA')          I.setEngine('IDA')
# Line 653  class TestSteam(AscendSelfTester): Line 653  class TestSteam(AscendSelfTester):
653          I.setParameter('atol',1e-5)          I.setParameter('atol',1e-5)
654          I.setInitialSubStep(0.0001)          I.setInitialSubStep(0.0001)
655          I.setReporter(ascpy.IntegratorReporterConsole(I))          I.setReporter(ascpy.IntegratorReporterConsole(I))
656          I.setLogTimesteps(ascpy.Units("s"), 1, 5, 20)          I.setLogTimesteps(ascpy.Units("s"), 1, 10, 20)
657          I.analyse()          I.analyse()
658          I.solve()          I.solve()
659                    

Legend:
Removed from v.1270  
changed lines
  Added in v.1271

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22