Class CashFlowEngine.CashFlowResult
java.lang.Object
neqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult
- All Implemented Interfaces:
Serializable
- Enclosing class:
CashFlowEngine
Complete result of cash flow calculation.
- Version:
- 1.1
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<CashFlowEngine.AnnualCashFlow> private final doubleprivate final intprivate final doubleprivate final intprivate final doubleprivate final doubleprivate static final longprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionCashFlowResult(List<CashFlowEngine.AnnualCashFlow> annualCashFlows, double npv, double irr, double paybackYears, double discountRate, double totalCapex, int firstYear, int lastYear) Creates a new cash flow result. -
Method Summary
Modifier and TypeMethodDescriptionGets all annual cash flows.doubleGets the discount rate used.doublegetIrr()Gets the IRR.doublegetNpv()Gets the NPV.doubleGets the payback period.intGets project duration.Generates a summary string.doubleGets total CAPEX.doubleGets total revenue over project life.doubleGets total tax paid over project life.Generates markdown table of annual cash flows.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
annualCashFlows
-
npv
private final double npv -
irr
private final double irr -
paybackYears
private final double paybackYears -
discountRate
private final double discountRate -
totalCapex
private final double totalCapex -
firstYear
private final int firstYear -
lastYear
private final int lastYear
-
-
Constructor Details
-
CashFlowResult
public CashFlowResult(List<CashFlowEngine.AnnualCashFlow> annualCashFlows, double npv, double irr, double paybackYears, double discountRate, double totalCapex, int firstYear, int lastYear) Creates a new cash flow result.- Parameters:
annualCashFlows- list of annual cash flowsnpv- net present value (MUSD)irr- internal rate of returnpaybackYears- payback period in yearsdiscountRate- discount rate usedtotalCapex- total capital expenditure (MUSD)firstYear- first year of projectlastYear- last year of project
-
-
Method Details
-
getAnnualCashFlows
Gets all annual cash flows.- Returns:
- unmodifiable list of annual cash flows
-
getNpv
public double getNpv()Gets the NPV.- Returns:
- NPV in MUSD
-
getIrr
public double getIrr()Gets the IRR.- Returns:
- internal rate of return (e.g., 0.15 for 15%)
-
getPaybackYears
public double getPaybackYears()Gets the payback period.- Returns:
- payback period in years
-
getDiscountRate
public double getDiscountRate()Gets the discount rate used.- Returns:
- discount rate
-
getTotalCapex
public double getTotalCapex()Gets total CAPEX.- Returns:
- total CAPEX in MUSD
-
getTotalRevenue
public double getTotalRevenue()Gets total revenue over project life.- Returns:
- total revenue in MUSD
-
getTotalTax
public double getTotalTax()Gets total tax paid over project life.- Returns:
- total tax in MUSD
-
getProjectDuration
public int getProjectDuration()Gets project duration.- Returns:
- project duration in years
-
getSummary
-
toMarkdownTable
Generates markdown table of annual cash flows.- Returns:
- markdown formatted table
-
toString
-