DNO's only limit export power, not energy as such.
Watts or kiloWatts (kW) is a measure of (instantaneous) power; Watts = Volts x Amps.
Joules, Watt-hours or, more commonly, kilo-Watt-hours (kWh) is a measure of energy. Energy = Power x time.
They are related, but totally different measurements - similar to the relationship between, say, distance (miles) and speed (miles-per-hour).
And, for completeness... units that are derived from a person's name are usually capitalized. The SI unit for Watts is W, not w (as it derives from James Watt). So, it's kW rather than kw. And definitely not KW which would imply Kelvin-Watts!