As the old joke goes: Watt/what is a unit power? Not actually accurate or indeed that funny. Hey ho.
A watt is a joule a second and a joule is the work done when you apply a force of one newton over one meter. A newton is the force required to accelerate one kilogram at one meter per second every second. Hope all is clear.

However all that doesn't really matter.
Usefully. A lightbulb is 100 watts, which is mostly heat only a tiny amount is light. Your PC will have a ~300 watt power supply, again mostly heat. Are you seeing a pattern emerging?

Heat disperation is a major factor, especially on energy weapons with thermal blossoming etc. That will sap alot of your power ~90% is not uncommon on lasers.
Other points: Riker is an idiot, so we can't trust anything he says. At all. The man is a goon. B5 ships are huge, as in several times bigger than your average Trek ship so would need more power being bigger.
A smallish nuclear attack sub will have a 200MW nuclear plant for all it's needs, crew of ohh 100 or so and about 90m long. Of course a sub doesn't have power weapons, shields or artifical gravity, but its as good a starting point as any.
US total generating capacity is about 850/900 GW installed. Use is around 3500 Terrawatt hours/year. So your ship will generate over a 100 times more power than the whole of the US, just to put in into context.
Finally one ton of TNT is 4.2 Gigajoules of energy, as it all comes out at one time joules is right. Now a gun can't be measure in watts
unless its a continuous output gun. Eg a constant beam of 500 joules would be a 500watt gun. Fudging through it a 6TW turret might fire for a couple of seconds so for each second it fires it produces 6,000 gigajoules. Now if 90% is wasted as heat, etc. 600 GJ might hit the enemy. So that means each turret hits the enemy with a force of 142 tons of TNT.
The above is quick and nasty but, I think, fairly solid. However it's not alot in the grand scheme of things, I do recall someone working out that the trek quantum torpedo is around 128 MegaTons of TNT. That was off at, another place.. A place where people who need a new hobby and to see some sunlight post alot.
This is a long confused post so if any of it is rubbish or needs clarification please say so.
