EMlab-generation Documentation  1.0
Documentation of the EMLab-Generation model.
Public Member Functions | List of all members
emlab.gen.repository.NonTransactionalCreateRepository Class Reference
Inheritance diagram for emlab.gen.repository.NonTransactionalCreateRepository:
Inheritance graph
Collaboration diagram for emlab.gen.repository.NonTransactionalCreateRepository:
Collaboration graph

Public Member Functions

CashFlow createCashFlow (DecarbonizationAgent from, DecarbonizationAgent to, double amount, int type, long time, PowerPlant plant)
 
Bid submitBidToMarket (DecarbonizationMarket market, DecarbonizationAgent agent, long time, boolean isSupply, double price, double amount)
 

Detailed Description

Repository for cash flows

Author
ejlchappin

Definition at line 33 of file NonTransactionalCreateRepository.java.

Member Function Documentation

CashFlow emlab.gen.repository.NonTransactionalCreateRepository.createCashFlow ( DecarbonizationAgent  from,
DecarbonizationAgent  to,
double  amount,
int  type,
long  time,
PowerPlant  plant 
)
inline

Creates cash flow. Note: this is not transactional, so when called, it should be transactional there!

Parameters
from
to
amountthe money transfered
typewhat the cashflow is about
timethe time
plantthe power plant related to this cash flow
Returns
the cash flow

Definition at line 46 of file NonTransactionalCreateRepository.java.

Bid emlab.gen.repository.NonTransactionalCreateRepository.submitBidToMarket ( DecarbonizationMarket  market,
DecarbonizationAgent  agent,
long  time,
boolean  isSupply,
double  price,
double  amount 
)
inline

Submit bids to a market. Note: this is not transactional, so when called, it should be transactional there!

Parameters
market
agent
time
isSupply
price
amount
Returns
the submitted bid

Definition at line 76 of file NonTransactionalCreateRepository.java.


The documentation for this class was generated from the following file: