Canvas Development: Difference between revisions

From ASCEND
Jump to navigation Jump to search
Grivan (talk | contribs)
Grivan (talk | contribs)
No edit summary
Line 1: Line 1:
{{task}}
{{task}}
This page aims to document all the GSoC 2010 development carried out by [[User:Grivan|Grivan]]. The list of goals and tasks are additionally listed over [[User:Grivan#Tasks|Tasks]]. Efforts will be to make the modeller powerful enough to for some real and serious modelling. Use Cases are being developed as to see what do we expect from our modeller to be able to do for us, to identify the most important aspects and implement them.
This page aims to document all the GSoC 2010 development carried out by [[User:Grivan|Grivan]]. The list of goals and tasks are additionally listed over [[User:Grivan#Tasks|here]] for a quick look. Efforts will be to make the modeller powerful enough to for some real and serious modelling. Use Cases are being developed as to see what do we expect from our modeller to be able to do for us, to identify the most important aspects and implement them.


==Use Cases==
==Use Cases==
Line 29: Line 29:


===Dynamic Modelling of Servo Motor with backlash and PID control===
===Dynamic Modelling of Servo Motor with backlash and PID control===
*TODO
==Update for [[Gaphas]] HEAD==
The following section lists all the updating that needs to be done or has been done to work with latest gaphas head.
===Aspects===
One of the features that enhances the usability of the canvas is the dragging of ports to ports support to specify a stream. In reality these provides ARE_THE_SAME arguments when the ASCEND code is created.
*The Aspects of gaphas API help is defining the 'how' and Tools the 'what'.
*Specific handlers now have to be created to handle events like line disconnection on either of the ports, re-connection etc.
*This should be carefully designed to have no problems in the future as it is already an important component.
==GUI Usability Improvements==
*TODO
==Weekly Progress==
*TODO
*TODO

Revision as of 03:56, 5 June 2010

This article is about planned development or proposed functionality. Comments welcome.

This page aims to document all the GSoC 2010 development carried out by Grivan. The list of goals and tasks are additionally listed over here for a quick look. Efforts will be to make the modeller powerful enough to for some real and serious modelling. Use Cases are being developed as to see what do we expect from our modeller to be able to do for us, to identify the most important aspects and implement them.

Use Cases

We want to be able to solve following descriptions from our Canvas Based Modeller. These would help us identify as to what things require our immediate attention. This will help identify the missing elements from our design, and how best these should be implemented.

Regenerative Rankine Cycle

Rankine cycle is a thermodynamic process that converts heat energy into work. John Pye has already written an ASCEND language based model for this process here models/johnpye/rankine.a4c. We would want to develop a steady state model of regenrative Rankine cycle. This paricular model would require from us to:

  • Elimination of redundant equations in closed loop flows.
  • Specifications of flow streams.
    • It should be possible to switch between water to CO2 to toluene for example.
    • This should involve though redrawing the whole model again.
  • Present graohical models used to create the flowsheet in a more intuitive form. In styles of a PID or a PFD.

Ammonia Synthesis Reactor

Ammonia is basically manufactured by chemical combination of nitrogen and hydrogen gases at high temperature and pressure in the presence of a catalyst. The reactor could be desirable complexity which has to be decided. In any case Ammonia synthesis requires complex flow streams.

  • The simulation type needs to determined. What kind of reactor will be used for example plug flow or Gibbs.
  • In this case connections may need to be manually specified in order to provide complex flows as required.

Non-Chemical Models

ASCEND is a powerful language, it is fairly general to support all kinds of mathematical models. For example take look at these:

Specification of flow streams should not make the modeller lose it generality. Other chemical process modellers make the modeller specific for use for chemical engineering. However we would also want to have our modeller models of mechanical and electrical architecture. Basically maintain the ASCEND's general approach.

  • Flow streams have to be mentioned such that it does not affect the type of system being modelled does not require specification of flow streams or it is obvious.
    • For example, current and torque/energy/tension are obviously the streams in an electrical model and a particular mechanical model.

Dynamic Modelling of Servo Motor with backlash and PID control

  • TODO

Update for Gaphas HEAD

The following section lists all the updating that needs to be done or has been done to work with latest gaphas head.

Aspects

One of the features that enhances the usability of the canvas is the dragging of ports to ports support to specify a stream. In reality these provides ARE_THE_SAME arguments when the ASCEND code is created.

  • The Aspects of gaphas API help is defining the 'how' and Tools the 'what'.
  • Specific handlers now have to be created to handle events like line disconnection on either of the ports, re-connection etc.
  • This should be carefully designed to have no problems in the future as it is already an important component.

GUI Usability Improvements

  • TODO

Weekly Progress

  • TODO