Jump to content

Template talk:Infobox power station

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Rehman (talk | contribs) at 13:31, 24 February 2015 (Bug: catscan page dead?). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WikiProject iconEnergy Template‑class
WikiProject iconThis template is within the scope of WikiProject Energy, a collaborative effort to improve the coverage of Energy on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Parameter scan

I just had a bot run through all the transclusions, and check the parameter usage

The first table is a list of parameter usage counts. The second table is for parameters not found in the template, with a truncated list of articles using the missing parameters. I will fix some of the obvious typos if I have some time, and will regenerate the lists if there has been any progress made on cleaning them up. Thanks! Plastikspork ―Œ(talk) 05:15, 23 February 2014 (UTC)[reply]
Updated. Plastikspork ―Œ(talk) 20:12, 23 February 2014 (UTC)[reply]
Updated. Plastikspork ―Œ(talk) 21:42, 26 April 2014 (UTC)[reply]

Changes to template

The template format was substantially changed, meaning that multiple infoboxes no longer work as they did.

Above it states that the changes would be done by bot edits" quote Removal/merging/renaming of fields will be done in a single run by the bot - but no bot ever fixed the affected pages.

In addition there was never any announcement of the change on any affected talk page.

eg Lincs Wind Farm is one of (probably all) wind farm articles affected.

This is an example of the type of changes that have to be made to restore the infobox to it's previous level of function. http://en.wikipedia.org/w/index.php?title=Lincs_Wind_Farm&diff=605542614&oldid=604901204

Every wind farm I have looked at is affected, and no attempt has been found to register or fix the changes.

etc etc. This should be fixed.83.100.174.82 (talk) 01:35, 24 April 2014 (UTC)[reply]

I added some more backwards compatibility so that there is not a significant change in the information presented in this version vs. [1]. please let me know if you spot any other problems. I imagine the bot will run soon, but it seems Plastikspork has been busy with other things. Frietjes (talk) 16:15, 24 April 2014 (UTC)[reply]
Wait a moment! Before Plastikspork starts his bot, I would firmly suggest to change the "nuke_" prefix to "np_". "nuke" is really a bad choice, "to nuke" is synonymous to "to bomb". Let us say that using "nuke" for technical data is politically incorrect. It is already bad as how antinuclearism works with its propaganda in some countries, that it does not seem the case to nourish it even within the internal data structures.--Robertiki (talk) 04:11, 18 July 2014 (UTC)[reply]
@Robertiki: I agree with you. But its use in articles is massive (I think). I wonder how feasible it is to change it. Changing it is no big deal (I can do it if you like), but I would like to know what others think. Also, Plastikspork and Frietjes, are there any more bot runs pending? I kind of had to disappear from the internet for some time unfortunately. Lost track of a lot of things. Rehman 11:40, 21 February 2015 (UTC)[reply]
@Rehman:, I don't think there have been any bot actions related to this issue. all the bot has done this far is scan the articles to generate the list of pages that need manual attention before the bot can make automatic changes. do we have a concrete plan on what needs to be changed, or a tracking category to find the ones that need to be changed? Frietjes (talk) 16:54, 21 February 2015 (UTC)[reply]
I have added the nuke task along with the rest, and have put up a bot request to sort out the cleanup once and for all, since the large majority of what we started with is done... Hopefully we can close this case soon. Rehman 07:31, 22 February 2015 (UTC)[reply]

nuke_reactor_type= values

The documentation for this field says:

enter any one of the following auto-expanding fields:

PWR=PWR, BWR=BWR, PHWR=PHWR, RBMK=RBMK, GCR=GCR, AGR=AGR, FBR=FBR, PBR=PBR, MSR=MSR, AHR=AHR.

which I read to mean that I should use a value such as "PWR", and it would display as "PWR" in the infobox (the token value is "autoexpanded" to be linked). But the template currently appears to just display the field-value as entered. In the source, the child infobox created by data13 has:

|label2         = Reactor type
|data2          = {{{nuke_reactor_type|{{{reactor_type|}}}}}}

rather than some sort of #switch or similar token-handling logic. DMacks (talk) 15:27, 6 January 2015 (UTC)[reply]

@DMacks:. I have no clue what happened to it. I remember that it used to switch automatically. Will check and update here. Thanks for the notice. Regards, Rehman 11:34, 21 February 2015 (UTC)[reply]
I have gone ahead and added it so as to match the documentation. My guess is that this was planned, but eventually forgotten haha. Thanks for the notice. Have a good day. Rehman 11:51, 21 February 2015 (UTC)[reply]

Capacity units

A value for installed_capacity= or ps_electrical_capacity= is displayed as entered whereas max_planned_cap= is displayed with "MW". ps_electrical_capacity= is documented as "Current gross installed capacity in megawatts" and the other two fields aren't documented at all. Should all "capacity" fields be MW and display (and be documented) as such? Would be easy to bot-locate any such fields that have values other than a simple number for manual conversion if that's the intent. DMacks (talk) 17:12, 6 January 2015 (UTC)[reply]

Well the only problem with MW auto-inputted is when a power plant has a capacity of 600 kV or something of that nature. I am not sure about ps_electrical_capacity=, it seemed to override installed_capacity= and display as the same. Maybe it was intended to display the power draw when pumped-storage is in pump-mode. Rehman did much of this template, maybe he can help.--NortyNort (Holla) 20:53, 6 January 2015 (UTC)[reply]
Hi DMacks and NortyNort, sorry I didn't notice the ping. max_planned_cap= is depreciated (and so is installed_capacity=), that's why it's no longer documented. Its function (auto MW suffix) are also based on how it was, and is only left that way to support older uses. It is advisable to update the articles with the latest code from the template page. Regards, Rehman 11:29, 21 February 2015 (UTC)[reply]

Final parameter update

To complete the template cleanup/fixes which was started about a year ago, I am going to request the following, preferably in no more than one edit per affected article (to avoid unnecessary repetitive edits), so that these depreciated parameters can once-and-for-all be cleared from the template.

Step 1A: To replace

Parameters on the left should be replaced with those on the right. The list is big because all old parameters are listed, but the number of actual uses of some parameters should be small, very small, or even none.

To replace...

Lead section:

  • captionimage_caption
  • location_map_widthlocation_map_size
  • location_map_textlocation_map_caption
  • official_namename_official
  • localelocation
  • latlat_d
  • latitudelat_d
  • longlong_d
  • longitudelong_d

Geothermal power stations:

  • geothermal_typegeo_type
  • temp_requirementgeo_temp_req
  • geothermal_wellsgeo_well_count
  • max_well_depthgeo_well_depth

Nuclear power stations:

  • nuke_reactor_typenp_reactor_type
  • reactor_typenp_reactor_type
  • nuke_reactor_suppliernp_reactor_supplier
  • reactor_suppliernp_reactor_supplier
  • nuke_fuel_typenp_fuel_type
  • nuke_fuel_suppliernp_fuel_supplier
  • nuke_water_sourcenp_water_source
  • cooling_waternp_water_source
  • nuke_water_distancenp_water_distance
  • nuke_cooling_towersnp_cooling_towers

Pumped-storage hydroelectric power stations:

  • upper_reservoirpsps_upper_res
  • upper_res_capacitypsps_upper_res_capacity
  • penstockspsps_penstocks
  • lower_reservoirpsps_lower_res
  • lower_res_ac_capacitypsps_lower_res_capacity
  • lower_res_capacitypsps_lower_res_capacity
  • hydraulic_headpsps_hydraulic head
  • ps_gen_unitspsps_generators
  • pump_gen_unitspsps_pumpgenerators
  • pumping_unitspsps_pumps

Solar farms:

  • solar_farm_typesolar_type
  • cpv_concentrationsolar_cpv_concentration
  • csp_technologysolar_csp_technology
  • heliostatssolar_csp_heliostats
  • solar_heliostatssolar_csp_heliostats
  • cpvtsolar_cpvt
  • land_areasolar_site_area

Tidal power stations:

  • tsg_typetide_tsg_type
  • dtp_perp_lengthtide_dtp_length_perp
  • dtp_para_lengthtide_dtp_length_para
  • tidal_rangetide_range

Wave farms:

  • offshore_area_wavewave_site_area
  • offshore_depth_wavewave_generator_depth
  • offshore_distance_wavewave_shore_distance

Wind farms:

  • onshore_elevationwind_site_elevation
  • onshore_land_usewind_site_usage
  • onshore_areawind_site_area
  • offshore_areaoffshore_area
  • offshore_depthwind_offshore_depth
  • offshore_distancewind_offshore_distance
  • hub_heightwind_hub_height
  • rotor_diameterwind_rotor_diameter
  • rated_wind_speedwind_rated_speed

End section:

  • primary_fuelps_fuel_primary
  • secondary_fuelps_fuel_secondary
  • tertiary_fuelps_fuel_tertiary
  • generation_unitsps_units_operational
  • wind_turbinesps_units_operational
  • wave_turbines_mwps_units_operational
  • dtp_turbines_mwps_units_operational
  • tsg_turbines_mwps_units_operational
  • csp_unitsps_units_operational
  • cpv_unitsps_units_operational
  • pv_unitsps_units_operational
  • reactors_operate_mwps_units_operational
  • geo_turbine_mwps_units_operational
  • turbine_manu_otherps_units_manu_model
  • turbine_modelps_units_manu_model
  • turbine_manups_units_manu_model
  • wave_converter_manups_units_manu_model
  • turbine_manu_tideps_units_manu_model
  • turbine_manu_cspps_units_manu_model
  • turbine_manu_nppps_units_manu_model
  • turbine_manu_pspps_units_manu_model
  • turbine_manu_geops_units_manu_model
  • reactors_const_mwps_units_uc
  • reactors_planned_mwps_units_planned
  • reactors_decom_mwps_units_decommissioned
  • installed_capacityps_electrical_capacity
  • thermal_power_allps_thermal_capacity
  • thermal_power_solarps_thermal_capacity
  • thermal_power_geops_thermal_capacity
  • capacity_factorps_electrical_cap_fac
  • average_annual_genps_annual_gen
  • cogeneration_allps_cogeneration
  • combined_cycleps_combined_cycle

Step 1B: To simultaneously remove

The following parameters needs to be removed from articles completely. Do not action on the articles if removal is the only task (i.e. those with no other replace action), as it will be a waste of effort and more of a dummy edit. Please list those articles that uses the below on which no action was taken on.

To remove...
  • as_of
  • developer
  • net_generation
  • constructor
  • average_annual_year
  • conveyance
  • licence_expires
  • nrc_region
  • architect
  • primary_fuel_capacity
  • net_generation_year
  • constructors
  • upper_res_catchment
  • upper_res_area
  • reactors_cancel_mw
  • upper_res_elevation
  • employees
  • lower_res_catchment
  • lower_res_area
  • lower_res_elevation
  • upper_res_depth
  • ghg_emission
  • reciprocating_engines
  • boiler_type
  • annual_pump_consum
  • elevation_m
  • lower_res_discharge
  • lower_res_spillways
  • converter_type
  • upper_res_discharge
  • transmission lines
  • lower_res_depth
  • containment_type
  • upper_res_spillways
  • commission ext
  • parent
  • boiler_manu
  • psps_upper_res_elevation
  • thermal_efficiency
  • cost ext
  • permanently shutdown

Step 2: To list uses

The articles using the following parameters needs to be listed for manual action.

To list uses..
  • coordinates
  • technology
  • elevation
  • pumped_storage
  • mine_type
  • upper_res_ac_capacity
  • secondary_fuel_capacity
  • reactor_types
  • location_type
  • local_name
  • images
  • Nuclear Power
  • loction
  • State
  • tertiary_fuel_capacity
  • tidal_technology
  • other_name
  • manager
  • open
  • psps_upper_res_ac_capacity

Step 3: Re-scan and final actions

Once replacement, removal, and manual actions are complete, and once the template itself is cleared of all depreciated parameters, to rescan all articles which use {{Infobox power station}}, and list uses of parameters not included in the final template documentation.

--Rehman 06:43, 22 February 2015 (UTC)[reply]

Bug

There seems to be some kind of bug. Yobot replaces both, secondary_fuel and tertiary_fuel, with ps_fuel_tertiary, and SporkBot removes one ps_fuel_tertiary as duplicates. There is no a problem so far if only the primary fuel is used but i may create problems if also secondary and tertiary fuels are used. Beagel (talk) 06:29, 23 February 2015 (UTC)[reply]

Beagel these were the instructions given above. -- Magioladitis (talk) 08:36, 23 February 2015 (UTC)[reply]
Beagel my bot run was one-off. Yobot did not remove any duplicated fields. -- Magioladitis (talk) 08:46, 23 February 2015 (UTC)[reply]
Bug fixed. It was not caused my me. -- Magioladitis (talk) 08:50, 23 February 2015 (UTC)[reply]
Thank you very much Magioladitis for fixing my error. *thumbs-up* Rehman 13:22, 23 February 2015 (UTC)[reply]

@Beagel, Magioladitis, and Rehman: the bot run introduced duplicate parameters, and not just the ps_fuel_tertiary problem. what is the plan for cleaning up this list? Frietjes (talk) 16:12, 23 February 2015 (UTC)[reply]

I cleaned up about 160, but there are still many more left ... Frietjes (talk) 20:00, 23 February 2015 (UTC)[reply]
@Frietjes: thanks. Really appreciated. Sorry for the trouble made. I only did what I was asked to. -- Magioladitis (talk) 23:37, 23 February 2015 (UTC)[reply]

@Beagel, Frietjes, and Rehman: I see many duplications of |ps_units_manu_model=. If you tell what I have to do I can do it. -- Magioladitis (talk) 23:45, 23 February 2015 (UTC)[reply]

Magioladitis, they need to be corrected manually, but for example, something like this. basically, the first is the manufacturer and the second is the model, which are combined into manufacturer and model. the colon ':' may not be the best delimiter, but it works. another option would be to delimit with a slash, '/'. Frietjes (talk) 23:47, 23 February 2015 (UTC)[reply]
Magioladitis, for the nuclear power stations, this would fix it. basically you have manufacturer/model information duplicated in the units_operational. Frietjes (talk) 23:51, 23 February 2015 (UTC)[reply]
Magioladitis, are you able to list those as well, for manual action. Basically to scan for {{Infobox power station}} that has duplicated parameters. Apparently this has happened because two or more fields were merged into one. I suspect this happened only on wind farm/nuclear articles (because they had things like turbine_manu and turbine_model that are both renamed). There shouldn't be much articles with such duplicated field, hopefully. Rehman 23:56, 23 February 2015 (UTC)[reply]
@Rehman: Approx. 200 pages. There were much more but thanks to Frietjes's effort they are becoming less. -- Magioladitis (talk) 23:57, 23 February 2015 (UTC)[reply]
@Rehman: the scanning happens automatically in this list. please help fix some. I already fixed over 200. Frietjes (talk) 23:59, 23 February 2015 (UTC)[reply]
40 left. -- Magioladitis (talk) 12:27, 24 February 2015 (UTC)[reply]
The CatScan page doesn't load any more... Is it the same case with you? Rehman 13:31, 24 February 2015 (UTC)[reply]