Skip to content

The simulation with energy consumption awareness failed #219

@zijie1024

Description

@zijie1024

I'm running an energy-aware simulation as follows, but the console shows that the Datacenter, Host, and Vm all failed to be created. I can provide the full code if needed.

new PowerHost(
          i,
          new RamProvisionerSimple(HOST_RAM),
          new BwProvisionerSimple(HOST_BW),
          HOST_STORAGE,
          peList,
          new VmSchedulerTimeShared(peList),
          new PowerModelLinear(HOST_MAX_POWER, HOST_STATIC_POWER_PERCENT)
)
new PowerDatacenter(
        name,
        datacenterCharacteristics,
        new VmAllocationPolicySimple(hostList),
        new LinkedList<>(),
        Constants.SCHEDULING_INTERVAL
);
new DatacenterBroker(name)
new PowerVm(
          i,
          userId,
          VM_MIPS,
          VM_PE_NUM,
          VM_RAM,
          VM_BW,
          VM_SIZE,
          1,
          VM_VMM,
          new CloudletSchedulerTimeShared(),
          Constants.SCHEDULING_INTERVAL
)
Image

Additionally, I found that some CloudSim documents mention PowerHostUtilizationHistory and PowerDatacenterBroker, but these classes don't exist in the latest code.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions