Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ProjectTorreyPines/BalanceOfPlant…
Browse files Browse the repository at this point in the history
…Surogate
  • Loading branch information
TimSlendebroek committed Sep 25, 2024
2 parents 1677865 + f60db2c commit 55e0f9f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# BalanceOfPlantSurogate
# BalanceOfPlantSurrogate

The BalanceOfPlantSurogate is a surogate model to the FUSE.ActorBalanceOfPlant actor in FUSE, this is done by simple interpolate/extrapolate of a hypercube
The BalanceOfPlantSurrogate is a surogate model to the FUSE.ActorBalanceOfPlant actor in FUSE, this is done by simple interpolate/extrapolate of a hypercube

The data generation is done inside the ```BalanceOfPlantSurogate/src/data``` folder , checkout the notebook in that folder!
The data generation is done inside the ```BalanceOfPlantSurrogate/src/data``` folder , checkout the notebook in that folder!

To run the surogate model::

```julia
using BalanceOfPlantSurogate
using BalanceOfPlantSurrogate

bop_sur = BalanceOfPlantSurogate.BOPSurogate(:rankine)
bop_sur = BalanceOfPlantSurrogate.BOPSurogate(:rankine)
total_heat_load = 5e8
breeder_heat_load = 4e8
divertor_heat_load = 0.5e8
plant_efficiency = BalanceOfPlantSurogate.predict_thermal_efficiency(bop_sur, total_heat_load, breeder_heat_load/total_heat_load, divertor_heat_load / (total_heat_load - breeder_heat_load))
plant_efficiency = BalanceOfPlantSurrogate.predict_thermal_efficiency(bop_sur, total_heat_load, breeder_heat_load/total_heat_load, divertor_heat_load / (total_heat_load - breeder_heat_load))
```

0 comments on commit 55e0f9f

Please sign in to comment.