Article View: rec.arts.sf.written
Article #361Re: โThe end of software secrecy is almost upon us"
From: Lynn McGuire
Date: Tue, 20 Oct 2026 21:26
Date: Tue, 20 Oct 2026 21:26
46 lines
3558 bytes
3558 bytes
On 10/20/2026 4:20 PM, Thomas Koenig wrote: > Lynn McGuire <lynnmcguire5@gmail.com> schrieb: >> On 10/20/2026 12:15 PM, Thomas Koenig wrote: > >>> Don't know about your code, but I remember waiting a long time >>> for Aspen simulations... but then again, those diverge from >>> a converged solution, which shows that if Aspen has the first >>> clue about numerical methods, they are very good at hiding it. >>> >>> I just hope your software is better, at least in that respect. >> >> Most of our convergence methods use Newton-Raphson, yes that Isaac >> Newton, to start, very quick to solve if it solves. If that spirals out >> of control then we use the halving method, brute force and very slow. >> If that fails then we use an interpolation method, also very slow. If >> that fails (the flash is infeasible), then we report the failure to the >> user. > > Sounds reasonable, but... > > How can bisection fail? If you have bracketed your roots and > have no singularities it always succeeds. > > Hmm... molar fractions less than zero, maybe? > >> Our rigorous four phase flash is the worst since it solves two sets of >> k-values simultaneously with a vapor-liquid-solid fugacity based solid >> flash. The four phases are vapor, hydrocarbon liquid, aqueous liquid, >> and solid. Almost 300,000 lines of Fortran 66/77 code that I am >> converting to C++. > > For two variables, of course, bisection will not work. > >> And there are exceptions all over the place to the above since our >> software is Frankenstein consisting of the Design, Distill, Refine, and >> Gasplant Plus programs merged together. > > I can imagine... An infeasible problem is impossible to solve but it has to go through all of the solvers before it is declared to be infeasible. We have some quality analysis (Michelson, et al) but if you do quality analysis, you have solved most of the problem already. Lynn
Technical Details
Message-ID:
<11b8m9b$3d50n$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me> <11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me> <11b679m$6dl$1@panix2.panix.com> <11b6vc4$2npqv$1@dont-email.me> <11b87jg$37b7t$1@dont-email.me> <11b8ieg$3bn6q$1@dont-email.me> <11b8lu2$3cpbf$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lynn McGuire <lynnmcguire5@gmail.com> Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers Subject: Re: โThe end of software secrecy is almost upon us" Date: Tue, 20 Oct 2026 16:26:00 -0500 Organization: A noiseless patient Spider Lines: 46 Message-ID: <11b8m9b$3d50n$1@dont-email.me> References: <11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me> <11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me> <11b679m$6dl$1@panix2.panix.com> <11b6vc4$2npqv$1@dont-email.me> <11b87jg$37b7t$1@dont-email.me> <11b8ieg$3bn6q$1@dont-email.me> <11b8lu2$3cpbf$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 20 Oct 2026 21:26:03 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3576855"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UjA8RPClXyNCibG3f9RdK1Y1sGbZCIgQ="; posting-host="38f747c5137ec96e1ef2660a65c5d327" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:pB/2Ov+SzpPzqjfIdH1l7PtDX48= sha256:KqmmA6EUeLnRTUyJVGAUjRzbZLN89UOCVkwi+v+7vjs= sha1:LsdxwGSRqbsASQYHSiKqTPoYb74= sha256:NYj3Zmo2ZT+dWj8ke13Nzj7cp1EkUQGQ6h0rDwdBN3k= Content-Language: en-US In-Reply-To: <11b8lu2$3cpbf$1@dont-email.me>