Class CashFlowEngine.CashFlowResult

java.lang.Object
neqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult
All Implemented Interfaces:
Serializable
Enclosing class:
CashFlowEngine

public static final class CashFlowEngine.CashFlowResult extends Object implements Serializable
Complete result of cash flow calculation.
Version:
1.1
Author:
ESOL
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • annualCashFlows

      private final List<CashFlowEngine.AnnualCashFlow> 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 flows
      npv - net present value (MUSD)
      irr - internal rate of return
      paybackYears - payback period in years
      discountRate - discount rate used
      totalCapex - total capital expenditure (MUSD)
      firstYear - first year of project
      lastYear - last year of project
  • Method Details

    • getAnnualCashFlows

      public List<CashFlowEngine.AnnualCashFlow> 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

      public String getSummary()
      Generates a summary string.
      Returns:
      formatted summary
    • toMarkdownTable

      public String toMarkdownTable()
      Generates markdown table of annual cash flows.
      Returns:
      markdown formatted table
    • toString

      public String toString()
      Overrides:
      toString in class Object