[petsc-users] Modelica + PETSc?
Zou, Ling
lzou at anl.gov
Tue Jun 25 10:25:16 CDT 2024
Thank you, Matt.
To clarify, I myself have no idea about the Modelica implementation/interface to solver, so I was looking for if any such efforts have been done so I could leverage them.
-Ling
From: Matthew Knepley <knepley at gmail.com>
Date: Monday, June 24, 2024 at 10:39 AM
To: Zou, Ling <lzou at anl.gov>
Cc: petsc-users at mcs.anl.gov <petsc-users at mcs.anl.gov>
Subject: Re: [petsc-users] Modelica + PETSc?
On Mon, Jun 24, 2024 at 10: 29 AM Zou, Ling <lzou@ anl. gov> wrote: This is the website I normally refer to https: //openmodelica. org/doc/OpenModelicaUsersGuide/latest/solving. html Looks like DASSL is the default solver. That is what I would
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
On Mon, Jun 24, 2024 at 10:29 AM Zou, Ling <lzou at anl.gov<mailto:lzou at anl.gov>> wrote:
This is the website I normally refer to
https://urldefense.us/v3/__https://openmodelica.org/doc/OpenModelicaUsersGuide/latest/solving.html__;!!G_uCfscf7eWS!b_FUpA47GE22L7gOjpyjA0Ai96NvB4NYNw5JB70nNxxDMc5mzM2GtVbJGudJTvPG5-8IFcltmTx9uq9Tni4$ <https://urldefense.us/v3/__https:/openmodelica.org/doc/OpenModelicaUsersGuide/latest/solving.html__;!!G_uCfscf7eWS!doiyv6M6Kq1yjfPlFl-d2a7UjPqQJrGEcmX3w1EMUGxL-E2amOHtj5Yzx2B45uASg6yoOJ104QRL$>
Looks like DASSL is the default solver.
That is what I would have guessed. DASSL is a good solver, but quite dated. I think PETSc can solve those problems, and more scalably. We would be happy to give advice on conforming to their interface.
Thanks,
Matt
PS: I was playing with Modelica with some toy problem I have, which solves fine but could not hold on with the steady-state solution for some reason. Maybe I did it wrong, or maybe I am not familiar with the solver. That was the reason of the Modelica+PETSc question since I am quite familiar with PETSc. Also, the combination seems to be a powerful pair.
-Ling
From: Matthew Knepley <knepley at gmail.com<mailto:knepley at gmail.com>>
Date: Monday, June 24, 2024 at 6:12 AM
To: Zou, Ling <lzou at anl.gov<mailto:lzou at anl.gov>>
Cc: petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov> <petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>>
Subject: Re: [petsc-users] Modelica + PETSc?
On Sun, Jun 23, 2024 at 5: 04 PM Zou, Ling via petsc-users <petsc-users@ mcs. anl. gov> wrote: Hi all, I am just curious … any effort trying to include PETSc as Modelica’s solution option? (Modelica forum or email list seem to be quite dead
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
On Sun, Jun 23, 2024 at 5:04 PM Zou, Ling via petsc-users <petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>> wrote:
Hi all, I am just curious … any effort trying to include PETSc as Modelica’s solution option?
(Modelica forum or email list seem to be quite dead so asking here.)
I had not heard of it before. I looked at the 3.6 specification, but it did not sy how the generated DAE were solved, or
how to interface packages. Do they have documentation on that?
Thanks,
Matt
-Ling
--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener
https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!b_FUpA47GE22L7gOjpyjA0Ai96NvB4NYNw5JB70nNxxDMc5mzM2GtVbJGudJTvPG5-8IFcltmTx9OZlpQYY$ <https://urldefense.us/v3/__http:/www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!e8sA5VFEfZrWzBeykVmuJSprkdGGGySwcvejvOBPvzrBd0qITlSt4aai30icUjLpUqdLPz-LkDNH$>
--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener
https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!b_FUpA47GE22L7gOjpyjA0Ai96NvB4NYNw5JB70nNxxDMc5mzM2GtVbJGudJTvPG5-8IFcltmTx9OZlpQYY$ <https://urldefense.us/v3/__http:/www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!doiyv6M6Kq1yjfPlFl-d2a7UjPqQJrGEcmX3w1EMUGxL-E2amOHtj5Yzx2B45uASg6yoOGjMfxvJ$>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240625/f48a5074/attachment.html>
More information about the petsc-users
mailing list