Commit Graph

4465 Commits

Author SHA1 Message Date
Jorrit Wronski
b6d01a4e33 More Python 3.6 stuff 2017-03-10 18:09:50 +01:00
Jorrit Wronski
6d9b3c0292 Added Python 3.6 for #1429 2017-03-10 18:03:06 +01:00
Jorrit Wronski
b301db585c Merge pull request #1454 from CoolProp/fix_plotting
Fix plotting
2017-03-10 13:58:10 +01:00
Jorrit Wronski
64fda4cc15 Replaced hardcoded 20 with value from REFPROP header, changed the setters and getters for the composition vectors to yield the correct size, fixes #1452 2017-03-10 13:55:09 +01:00
Jorrit Wronski
414fa7e079 Merge pull request #1453 from CoolProp/feature/trace_isoline
Feature/trace isoline
2017-03-10 13:54:49 +01:00
Jorrit Wronski
7a1ee42b27 More testing of the plotting functions 2017-03-10 13:48:29 +01:00
Jorrit Wronski
22f6a3b81d This seems to be the most sane handling of the guess values 2017-03-10 12:14:02 +01:00
Jorrit Wronski
686ca2ec00 The guesses do not help much here, unfortunately 2017-03-10 11:29:09 +01:00
Jorrit Wronski
3a33e0a048 An optimistic approach towards using the guess values 2017-03-10 11:19:41 +01:00
Jorrit Wronski
1fb59957ec Merge branch 'master' into fix_plotting 2017-03-10 11:01:34 +01:00
Jorrit Wronski
25f00a5434 Replaced hardcoded 20 with value from REFPROP header, changed the setters and getters for the composition vectors to yield the correct size, fixes #1452 2017-03-10 11:00:14 +01:00
Jorrit Wronski
5b198f2e9e Added more hacks to handle the critical point 2017-03-10 09:49:04 +01:00
Jorrit Wronski
4cf5c8aef6 Started working on #1440 2017-03-10 09:32:32 +01:00
Jorrit Wronski
ea318e82ec Merge branch 'master' into feature/trace_isoline 2017-03-10 09:31:45 +01:00
Jorrit Wronski
bf73e006c0 Added the guesses to the line tracer 2017-03-10 09:29:18 +01:00
Jorrit Wronski
b59dc8dbe1 This might fix #1449, although the way import are handled here is slightly chaotic :-) 2017-03-10 08:37:38 +01:00
Ian Bell
adf71f3d62 Another attempt at emscripten relocation; see #1449 2017-03-09 19:30:43 -07:00
Ian Bell
d6db7f5809 Move F2K into emscripten_interface.cxx (#1449) 2017-03-09 19:05:51 -07:00
Ian Bell
260ba2489a Fix typo in CoolPropLib.h (#1450) 2017-03-09 19:05:45 -07:00
Jorrit Wronski
f7af136eb1 Added the line tracer to _PropSI_multi 2017-03-09 23:24:01 +01:00
Ian Bell
85ce7d6048 Fix typo in step sizing in ODEIntegrators.cpp; see #1448 2017-03-08 22:52:40 -07:00
Ian Bell
62587fd965 Update the ODE integrator to allow it to integrate backwards (#1448) 2017-03-08 22:34:10 -07:00
Jorrit Wronski
ff960a87b9 Editing main file to include the case generators 2017-03-05 00:36:23 +01:00
Ian Bell
77679f39db Added a few things to the emscripten interface 2017-03-03 20:29:58 -07:00
Jorrit Wronski
6ab19cde99 Added intermediate main to run the tests 2017-03-03 21:46:00 +01:00
Ian Bell
b2fee78b30 Fix dam_dtau for Twu; closes #1439 2017-03-01 22:33:23 -07:00
Jeff Henning
1dce5b9d14 Implemented Limited Error Handling in the Mathcad Wrapper (#1428)
* Added Error Handling for Mathad Wrapper

* Bump IF97 Revision

* Fix typo in Mathcad 15 example docs
2017-02-15 12:41:47 -07:00
Reza Afzalan
c14c6094a6 do not fail if .tables missed (#1433) 2017-02-14 11:39:23 -07:00
JonWel
1e38992541 UNIFAQ compile errors, closes #1426 (#1427) 2017-02-10 08:32:20 -07:00
JonWel
78b953e64c UNIFAQ -> UNIFAC, close #1421 (#1423)
* UNIFAQ -> UNIFAC, close #1421

* UNIFAQ -> UNIFAC, close #1421
Also file names
2017-02-10 00:13:04 -07:00
JonWel
7db398f562 Removes some C4018 warnings, #1413 (#1425)
Should correct most of the remaining C4018
2017-02-10 00:11:42 -07:00
Ian Bell
f318876fc1 Bump IF97 revision again; see #1415 2017-02-09 08:09:46 -07:00
Jeff Henning
9eb865ebc0 Bump IF97 revision (#1415) 2017-02-09 07:55:21 -07:00
JonWel
90487c3240 Set VTPR constants through the set_binary_interaction_parameter function, closes #1311 (#1420)
* Compute pure data less times
X and theta for the pure components are not dependent from temperature nor molar fraction.

* Small changes
Correct a problem where `pure_data[i].lnGamma` was not updated correctly

* Stores interaction parameters and Psi
Allows for some speed improvement

* Some cleaning
Seperate interaction parameter where useless.
The important is to fill the `std::map<std::pair<int, int>, UNIFAQLibrary::InteractionParameters> interaction;` variable correctly.

* Should helps for #1413
And I think it's even a bit faster like this ;)

* Set VTPR constants through the set_binary_interaction_parameter function, closes #1311

for instance, for a mixture with ethene and acetone:
```Julia
AbstractState_set_binary_interaction_double(AS,1, 9, "aij", 433.6)
AbstractState_set_binary_interaction_double(AS,9, 1, "aij", 199)
AbstractState_set_binary_interaction_double(AS,1, 9, "bij", 0.1473)
AbstractState_set_binary_interaction_double(AS,9, 1, "bij", -0.8709)
AbstractState_set_binary_interaction_double(AS,1, 9, "cij", 0)
AbstractState_set_binary_interaction_double(AS,9, 1, "cij", 0)
```
Allows to use Dortmund's parameters instead of Poling's.

* Improve a comment
2017-02-09 07:52:46 -07:00
Ian Bell
0fdc8b2125 Roll back Eigen to 3.3.2 - does that fix it? 2017-02-03 17:51:55 -07:00
Ian Bell
8a9e7cf0bd Bump revision of Eigen submodule; closes #1411 2017-02-03 09:44:37 -07:00
Matthis Thorade
a227092f14 Update FAQ.md
typo
2017-02-03 11:31:24 +01:00
Reza Afzalan
b276f4192d Update Julia wrapper, ref #1293 (#1384)
* #1293

* almost all coverd tested documented

* T->temp

* build tables with  and

* temp->T

* exactly original names | replace  with  &  same for

* add non-update methods to update functions, so we dont need !

* return when need

* remove unnecessary parameters

* sym<->symorigin

* add comment for #__precompile__()
2017-01-30 20:44:53 -07:00
tobias-loew
2672a929c9 set_reference_state for AbstractSate (#1403)
this allows for setting reference state without changing the state of
the JSONLibrary
2017-01-27 07:51:29 -07:00
Matthis Thorade
f6385564e8 Update FAQ.md
Extend explanation,
mention reference state
2017-01-27 11:55:13 +01:00
ArslQ
041fe45046 Update index.rst (#1400)
Added T-Props to projects using CoolProp
2017-01-25 09:01:42 -07:00
Ian Bell
20d101a9fd Bump IF97 revision 2017-01-23 19:10:13 -07:00
Jeff Henning
7cc540fec6 IF97 Backend: Additional Input Pairs and Transport Properties (#1397)
* Input pairs (p,h), (p,s), and (h,s) in IF97 Backend

* Updated documentation to support IF97 Backend Enhancements

* Added support for IF97 Transport Functions
2017-01-23 19:03:50 -07:00
Ian Bell
3471e910d0 Expose get_fluid_constant to AbstractState and to python; closes #1394 2017-01-18 19:31:56 -07:00
Ian Bell
6e5c695055 Rename the output shared library for auto-generated MATLAB swigged files 2017-01-16 16:11:20 -07:00
Ian Bell
302a81ea2c In REFPROP wrapper, always pass around vectors of length 20, not length of components (#1389)
Also fix melting line function in REFPROP wrapper
2017-01-13 15:23:48 -07:00
Reza Afzalan
b1451ab4a6 Update CoolPropLib.h (#1383)
* Update CoolPropLib.h , closes #1379

Update CoolPropLib.h , closes #1379

* Update HumidAirProp.cpp

#1379

* Update CoolPropLib.h

#1379
2017-01-03 18:15:22 -07:00
Ian Bell
064585511a Fix endswith function; closes #1372 2017-01-02 14:56:52 -07:00
Ian Bell
8099cc5803 Some cleanups to documentation for humid air properties 2017-01-02 14:17:31 -07:00
Reza Afzalan
c33cd1330b Clear typo, switch da<->ha in 'C' calc. of moist air (#1377) 2017-01-02 14:09:16 -07:00