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

Diff of /trunk/test.py

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

revision 1267 by johnpye, Sat Feb 3 03:39:50 2007 UTC revision 1268 by johnpye, Sat Feb 3 06:18:11 2007 UTC
# Line 631  class TestSteam(AscendSelfTester): Line 631  class TestSteam(AscendSelfTester):
631          T = self.L.findType('dsgsat3')          T = self.L.findType('dsgsat3')
632          M.run(T.getMethod('free_states'))          M.run(T.getMethod('free_states'))
633          # here is the peturbation...          # here is the peturbation...
634          M.qdot_s.setRealValueWithUnits(2000,"W/m")          M.qdot_s.setRealValueWithUnits(1000,"W/m")
635          # 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
636          I = ascpy.Integrator(M)          I = ascpy.Integrator(M)
637          I.setEngine('IDA')          I.setEngine('IDA')
# Line 642  class TestSteam(AscendSelfTester): Line 642  class TestSteam(AscendSelfTester):
642          I.setParameter('atol',1e-4)          I.setParameter('atol',1e-4)
643          I.setInitialSubStep(0.0001)          I.setInitialSubStep(0.0001)
644          I.setReporter(ascpy.IntegratorReporterConsole(I))          I.setReporter(ascpy.IntegratorReporterConsole(I))
645          I.setLogTimesteps(ascpy.Units("s"), 1, 600, 20)          I.setLogTimesteps(ascpy.Units("s"), 1, 3600, 20)
646          I.analyse()          I.analyse()
647          I.solve()          I.solve()
648                    

Legend:
Removed from v.1267  
changed lines
  Added in v.1268

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