emmaredfoot / hybrid Goto Github PK
View Code? Open in Web Editor NEWHolds the archetypes for a nuclear renewable hybrid energy system
Holds the archetypes for a nuclear renewable hybrid energy system
What do the different naming conventions in CYCLUS represent?
UPPERCASE clearly represent macros (which are kind of like globals with a narrower scope).
Might be worth using the leftover method to send the leftover heat from the reactor not going towards generating electricity to the industrial facility. In this case, it would have to be assumed that meeting the grid demand would always be the priority.
What are some of the reasons that I would want cyclus running on my mac as opposed to my virtual box?
Mac is faster and I know the keyboard shortcuts better. It seems that cyclus is built for ubuntu.
When does the ctx variable change?
Look into the seperations agent to see how it handles multiple commodites, look into the xml file to see how it handles the input of multiple commodities.
//This might be where it declares that there is a constant amount being traded at each time step
void Cogeneration::GetMatlTrades(
const std::vector<cyclus::Tradecyclus::Material >& trades,
std::vector<std::pair<cyclus::Tradecyclus::Material,
cyclus::Material::Ptr> >& responses) {
using cyclus::Material;
using cyclus::Trade
In cogeneration.cc the following lines (62 & 63) are confusing:
:set<cyclus::BidPortfoliocyclus::Material::Ptr> Cogeneration::GetMatlBids(
cyclus::CommodMapcyclus::Material::type& commod_requests)
Take the current xml file for the cyclus toy projects and evaluate what is missing for the cogeneration example.
The Cogeneration class holds the cogeneration facility, which is the reactor source. The reactor source knows about its output at each step, multiple sinks, and that the default split should be .5 (which really should be 1/total_sinks).
Figure out where it describes the sinks and incorporate some logic that allows it to split the resource.
Some examples of classes with the * include Cogeneration* and QueryableBackend*?
There are two cogeneration.cc files that have significant overlap, though they are definitely distinct. They are located in hybrid/build/hybrid/cogeneration(.cc & .h) and hybrid/src/cogeneration(.cc & .h). For example, the InitFrom methods are very different in the two .cc files and the annotations are very different in the two .h files. I am trying to change the variable name reactor_size to reactor_heat, as reactor_size I think suggests the MWe value while reactor_heat is more descriptive of the thermal generation. I am changing the names in both and wondering what the purpose of each is. Any quick feedback would be appreciated.
In the cogeneration.h and cogeneration.cc files, determine the functions that designate the exchange with the sink.
/usr/bin/cmake
-- The C compiler identification is GNU 5.4.1
-- The CXX compiler identification is GNU 5.4.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
CMAKE_MODULE_PATH /share/cmake-2.8/Modules;/home/emma/github/cyclus/hybrid/cmake
-- Using /home/emma/.local as CYCLUS_ROOT_DIR.
-- Dependency Cyclus (DEPS_CYCLUS):
-- Dependency Library Cyclus (DEPS_LIB_CYCLUS):
-- Dependency Share Cyclus (DEPS_SHARE_CYCLUS):
-- Dependency Include Cyclus (DEPS_INCLUDE_CYCLUS):
-- Found Cyclus Core Headers : /home/emma/.local/include/cyclus
-- Found Cyclus Core Test Headers : /home/emma/.local/include/cyclus
-- Found Cyclus Core Shared Data : /home/emma/.local/share/cyclus
-- Found Cyclus Core Library : /home/emma/.local/lib/libcyclus.so
-- Found Cyclus Test Libraries : /home/emma/.local/lib/cyclus/libgtest.so/home/emma/.local/lib/cyclus/libbaseagentunittests.so
--LD_LIBRARY_PATH:
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- HDF5 Root:
-- HDF5 Include directory:
-- HDF5 Library directories:
-- HDF5 Libraries:
CMake Error at src/CMakeLists.txt:2 (USE_CYCLUS):
Unknown CMake command "USE_CYCLUS".
-- Configuring incomplete, errors occurred!
See also "/home/emma/github/cyclus/hybrid/build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "install.py", line 137, in
main()
File "install.py", line 134, in main
install(args)
File "install.py", line 62, in install
shell=(os.name == 'nt'))
File "/home/emma/anaconda3/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/home/emma/github/cyclus/hybrid', '-DCMAKE_INSTALL_PREFIX=/home/emma/
with temperature and MWth
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.