Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSlendebroek authored Sep 25, 2024
1 parent 9da3a42 commit c624ca1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,15 @@
The BalanceOfPlantSurogate 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!

To run the surogate model::

```julia
using BalanceOfPlantSurogate

bop_sur = BalanceOfPlantSurogate.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))
```

0 comments on commit c624ca1

Please sign in to comment.