Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/equinor/lcm
Lost Circulation Material
https://github.com/equinor/lcm
drilling-engineering equinor flask genetic-algorithm petroleum python typescript
Last synced: about 2 months ago
JSON representation
Lost Circulation Material
- Host: GitHub
- URL: https://github.com/equinor/lcm
- Owner: equinor
- License: mit
- Created: 2020-08-28T07:44:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-06T19:27:12.000Z (8 months ago)
- Last Synced: 2024-05-06T19:49:47.666Z (8 months ago)
- Topics: drilling-engineering, equinor, flask, genetic-algorithm, petroleum, python, typescript
- Language: Python
- Homepage:
- Size: 3.07 MB
- Stars: 5
- Watchers: 4
- Forks: 3
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lost Circulation Material Optimizer
![CI](https://github.com/equinor/lcm/workflows/CI/badge.svg)
Web application for creating, comparing, and optimize blending of lost circulation material used to bridge fractures and stop losses in rock formations during petroleum drilling.
This repository is the result from the merger of the two summer intern projects from 2020.
- Team Blend
- Team Bridge![plot](bridge-plot.png)
Deployed environments:
- [Test](https://proxy-lost-circulation-material-test.radix.equinor.com)
- [Production](https://lost-circulation-material.app.radix.equinor.com)## Requirements
- docker
- docker-compose## Running
1. Create a copy of `.env-template` called `.env` and populate it with values.
2. Build the containers```sh
docker-compose build
```3. Start the project
```sh
docker-compose up
```## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## Operational runbook
[RUNBOOK](runbook.md)
## Interpolating new fraction data
Bridge data from products on a different scale than the one defined at `api/calculators/bridge.py:45` can be added to
the LCM optimizer as long as the data gets interpolated into the same scale.That can be done like this;
1. Add a file at `./api/test_data/interpolate_input.csv`
2. Have the first column be called "Size" and have 101 measuring points of the products
3. Add one column for each product, where the header is the name of the product.
```csv
Size,Prod1,Prod2
0.01,0,0
0.011482,0,0
...
10000,100,100
```
4. Run `docker-compose build api && docker-compose run api python calculators/fraction_interpolator.py`
5. One result file for each product will be created in `./api/test_data/`## Radix
Two different environments in Radix are used: one for test (deploys from branch "test") and one for production (deploy from branch "master")## License
[MIT](LICENSE)