crb_reservoirs_optimization

Optimization model for CRB reservoirs network

https://github.com/samarthsing/crb_reservoirs_optimization

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Optimization model for CRB reservoirs network

Basic Info
  • Host: GitHub
  • Owner: samarthsing
  • License: gpl-3.0
  • Language: C++
  • Default Branch: main
  • Size: 1.01 MB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created over 3 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License Citation

README.md

modules

gcc/9.2.0 openmpi/3.1.6

C++ Reservoir Model for the Columbia River Basin (CRB)

This repository contains a C++ reservoir model designed to optimize operations for the Columbia River Basin (CRB). The model includes historical reservoir rules and provides an interface between the reservoir model and an optimization solver.

Project Structure

The project consists of three main files:

  • HYSSRCRBmodel.cpp: Contains the core functionality for optimizing reservoir operations.
  • HYSSRCRBmodel_hyssr.cpp: Implements historical reservoir rules.
  • runCRBparallelJared.cpp: Provides the interface between the reservoir model and the optimization solver.

Compilation

The project uses a Makefile to compile the necessary files. The Makefile assumes the use of mpicxx for parallel compilation.

Makefile

```Makefile

# Compiler, tools and options

CC = gcc

CXX = mpicxx CXXFLAGS = -c -O3 -Wall

# Compile

all: CRB_FCRPS

CRBFCRPS: runCRBparallelJared.o borgmm.o mt19937ar.o $(CXX) runCRBparallelJared.o borgmm.o mt19937ar.o -o CRBFCRPS

runCRBparallelJared.o: runCRBparallelJared.cpp HYSSRCRBmodel.cpp \ ../borg_jared/borgmm.h $(CXX) $(CXXFLAGS) runCRBparallelJared.cpp

borgmm.o: ../borgjared/borgmm.c ../borgjared/borgmm.h \ ../borgjared/borg.h $(CXX) $(CXXFLAGS) ../borgjared/borgmm.c

mt19937ar.o: ../borgjared/mt19937ar.c ../borgjared/mt19937ar.h $(CXX) $(CXXFLAGS) ../borg_jared/mt19937ar.c

clean: rm -rf *.o rm CRB_FCRPS

Owner

  • Name: Samarth Singh
  • Login: samarthsing
  • Kind: user
  • Location: Charlottesville
  • Company: University of Virginia

Systems Engineering | Computer Science | Data Science

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it using the following metadata."
title: "CRB optimization exploring economic vs environmental benefits"
version: "1.0.1"
doi: "10.5281/zenodo.11962296"
date-released: 2024-08-25
authors:
  - family-names: "Singh"
    given-names: "Samarth"
    orcid: "https://orcid.org/0000-0003-4564-9746"
identifiers:
  - type: "doi"
    value: "10.5281/zenodo.11962296"

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1