Thank you for the mini-driver and correcting my syntax. (Updated the repo
<https://github.com/akigupta131/ascend-steam-reformation/commit/1a0de9f3e508caadeb91c7c12ba793d55f4ed0df>
)

Unfortunately while I am trying to run that as you suggested, I am getting:-

PROGRAM ERROR: ascend/solver/solver.c:138:slv_lookup_client: Invalid engine
name 'QRSlv'
runqrslv: ascend/runqrslv.c:110: main: Assertion `qrslv_index != -1' failed.
Aborted (core dumped)

Also looking at the bug http://ascend4.org/b564, It's quite possible that
maybe the case. I am using Ubuntu 14.04 LTS on 64 bit system. Good luck
with the bug. I'm also trying to find some solution.

I'm looking for a 32 bit system. I'll soon start working on it. And get
back to you in case of any progress.

Thanks for all the help :)

-Akash

ᐧ

On Thu, Mar 26, 2015 at 1:02 PM, John Pye <[email protected]> wrote:

>  Hi Akash
>
> An update on this bug. I found that it appears on my Ubuntu 12.04 64-bit
> machine, but *not* on my Ubuntu 12.04 32-bit machine. So it's possible that
> this could be related to one of our most hard-to-solve (and very
> intermittent) bugs, http://ascend4.org/b564. This example model of yours
> is an even simpler test case than the last one, so I am optimistic that we
> my be able to track down this bug at last!
>
> As well as not crashing via the simplified 'runqrslv' driver, your model
> also now works fine under 32-bit in the PyGTK GUI. So it's clearly not a
> GUI-related problem.
>
> As far as development of your models goes, I can therefore only suggest
> for the moment that you try to do your development on a 32-bit version of
> Linux (eg in a VM if necessary). Hope that's not too inconvenient to do
> that. I'll be doing my best to fix this tricky bug as soon as possible.
>
> Cheers
> JP
>
>
> On 26/03/15 14:12, John Pye wrote:
>
> Hi Akash
>
> Thanks very much for your contributions. When I open firstly your 'eos'
> model, I get a window showing that there are errors in that file. ASCEND
> doesn't crash, but it is apparent to me that there is some glitch/bug being
> revealed, since there are multiple entries in the 'errors/warnings' pane at
> the bottom of the window, but no text is visible. This suggests some issues
> with our 'error reporter' module, which we have seen before but which I
> thought had been resolved.
>
> A rather unsatisfying way to see some diagnostic output, to work around
> this GUI issue for your immediate needs, is through use of the attached
> mini-driver for ASCEND, which will output your parser errors to the
> console. I place this file in the top-level folder in ASCEND, and compile
> it using
>
>     gcc -orunqrslv runqrslv.c -lascend
>
> then run it using
>
>     ./runqrslv ~/ascend-steam-reformation/akash_eos.a4c
>
> I have added this "runqrslv.c" file to the trunk of our repository, for
> easy access. If I see any bugs in it, I'll fix them there.
>
> After making some fixes to your syntax, I'm afraid I'm still getting a
> segfault using the above method however. It will require a little more
> looking to figure out what the problem is there.
>
> Cheers
> JP
>
>
> On 26/03/15 11:11, Akash Deep Singhal wrote:
>
> Hello John,
>
>  As you asked for the modeling of process of steam methane reformation in
> ASCEND, I have done that and the complete model can be seen found at
> https://github.com/akigupta131/ascend-steam-reformation
> Also the documentation for the same can be seen at
> https://docs.google.com/document/d/1XMvgZq-kiQaB27iSpOvbnnO875I_VII0BvBUnPTLNls/edit?usp=sharing
>
>  I have some doubts though:-
> a. I can't run any of eos files. On running any of them, ascend window
> suddenly crashes and the command line gives segmentation fault (which got
> to know occurs when the program access some segment which it is not
> supposed to do.)
>
>  b. I have included *akash_eos.a4c* file in the *steam_reformation.a4c*
> file. But the error log states that it could not find the file (tried
> changing permissions of file. still the same)
>
>  Please help and comment if you find something wrong.
>
> Thank you,
> Akash
> ᐧ
>
> On Wed, Mar 18, 2015 at 1:15 AM, Akash Deep Singhal <[email protected]
> > wrote:
>
>> Hello John,
>>
>>  Thank you for the detailed reply. I also think that
>> introducing/developing some ChemE based models would be great idea. For
>> now, I am working on Ammonia synthesis flowsheet. I will post it soon.
>>
>> About my MTech research:-
>> For the initial stage, there is not much of support available for
>> openmodelica on ARM devices so we are trying to fix the repos to get it
>> working on it. After that, the work is to get the core thermodynamics
>> libraries of DWSIM+Cape Open and integrate them with openmodelica.
>> More about the topic can be seen here :-
>> http://www.che.iitb.ac.in/online/ddproject/integrating-openmodelica-and-dwsimcape-open-low-cost-netbook-computers
>>
>> Anyways, is there some IRC channel for the discussion. I couldn't find
>> one.
>>
>>
>>  Thanks,
>> Akash
>> ᐧ
>>
>> On Mon, Mar 16, 2015 at 6:21 AM, John Pye <[email protected]> wrote:
>>
>>>  Hi Akash
>>>
>>> Pleased to hear from you. Indeed, we have done a lot with Prof Kannan
>>> Moudgalya in the past. Depending on your interests there are quite a few
>>> areas that you could make good contributions. With your background, I would
>>> definitely suggest that you consider areas where your chemical engineering
>>> knowledge helps us out. For example, improving our thermodynamics routines
>>> (FPROPS etc), or in undertaking some development of missing component/unit
>>> models that allow ASCEND modelling of complex flowsheets of interest. For
>>> example, I would really like to see a comprehensive model of a eg ammonia
>>> synthesis or steam methane reforming processes in ASCEND, with at least
>>> cubic equations of state thermo. Building this up carefully and
>>> systematically, with good quality documentation, would be a very useful
>>> contribution.
>>>
>>> Let me know a bit more about your MTech research. Are you basically
>>> introducing equation-based components into the sequential-modular DWSIM
>>> framework?
>>>
>>> Cheers
>>> JP
>>>
>>>
>>> On 15/03/15 00:54, Akash Deep Singhal wrote:
>>>
>>>  Hello John and team,
>>>
>>> I am a 4th year student, pursuing a *Dual Degree* Course (B.Tech +
>>> M.Tech) in the *Department of Chemical Engineering*  and minor in 
>>> *Department
>>> of Computer Science* at
>>> *IIT Bombay. *
>>> I have deep interest and some experience in Artificial Intelligence, IoT
>>> and Data Structures. I am currently working on my MTech Thesis '*Integration
>>> of Openmodelica and DWSIM-CapeOpen on ARM based devices*' under the
>>> guidance of Prof. Kannan M Moudgalya.
>>>
>>> Having ChE knowledge with programming interests, I would love to work
>>> with Ascend. I have checked out svn, built it and now I am playing around
>>> with set of models. Please give me some area/bug to work at.
>>>
>>>  Thank you,
>>>    [image: photo] <http://www.azeotropy.com/akash>
>>> *Akash Deep Singhal*
>>> 4th Year Undergraduate | IIT Bombay
>>> | Mobile: 7738983120 | Email: [email protected]
>>> | Web: http://www.akashsinghal.in
>>>
>>>
>>>   
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming The Go Parallel Website, 
>>> sponsored
>>> by Intel and developed in partnership with Slashdot Media, is your hub for 
>>> all
>>> things parallel software development, from weekly thought leadership blogs 
>>> to
>>> news, videos, case studies, tutorials and more. Take a look and join the
>>> conversation now. http://goparallel.sourceforge.net/
>>>
>>>
>>>
>>> _______________________________________________
>>> Ascend-sim-users mailing 
>>> [email protected]https://lists.sourceforge.net/lists/listinfo/ascend-sim-users
>>>
>>>
>>>
>>
>>
>>   --
>>     [image: photo] <http://akashsinghal.in>
>> *Akash Deep Singhal*
>> 4th Year Undergraduate | IIT Bombay
>> | Mobile: 7738983120 | Email: [email protected]
>> | Web: http://www.akashsinghal.in
>>
>
>
>
>  --
>     [image: photo] <http://akashsinghal.in>
> *Akash Deep Singhal*
> 4th Year Undergraduate | IIT Bombay
> | Mobile: 7738983120 | Email: [email protected]
> | Web: http://www.akashsinghal.in
>
>
>
>


-- 
[image: photo] <http://akashsinghal.in>
*Akash Deep Singhal*
4th Year Undergraduate | IIT Bombay
| Mobile: 7738983120 | Email: [email protected]
| Web: http://www.akashsinghal.in
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

Reply via email to