How to Monitor Electrical Parameters

I want to monitor current,voltage,power factor,active power,reactive power,apparent power, power consumed and tariff for consumption!! Can anyone provide information regarding this. How can monitor electrical parameters in OPENHAB? Is there any code required? If it is please provide me a sample code

You’d need to find a device to measure the things you are interested in. range of examples -
You would need to identify the size of electrical load you want to monitor - 5kW, 10MW? etc.

Then the question becomes - can Openhab communicate with the device? Almost certainly yes, most such meters can use Modbus and so can Openhab.