millertech
Forum Replies Created
-
It’s just a static text block the same as other articles where the search is functioning properly. How do I let Relevansi know that it needs to be indexed?
Thank you!
Here is the info from the editor in that text block:
Calculated measurables combine physical meter measurables and mathematical operators using YAML. Calculated measurables can be used to create Explore saved views for specific metrics, such as key performance indicators (KPI) and time of use (TOU) graphs. Coordinators and Cascade administrators have access to Admin to create calculated measurables. First, create and populated physical meter measurables in Sensei. Next, create a calculated measurable to reference measurable IDs in logic statements. Add a Calculated Measurable 1: In Admin Tools > Measurables, click?New Measurable 2: Enter details ? ? Measurable Name: Enter a meaningful name ? ? Organization: Choose the related org ??? Site: Choose the related site ??? Measurable Type: Calculation ? ? Measurement Type: Choose the best option ? ? Read Frequency: Choose the best option ? ? Tags: Leave blank ? ? Input Type: Choose the best option ? ? Aggregation Type: Sum ? ? Formula: Write or copy/paste?YAML code 3:?Save
Here is that info:
<!-- wp:shortcode --> [av_sidebar widget_area='Table of Contents' av_uid='av-4llweb'] [av_one_full first min_height='' vertical_alignment='' space='' row_boxshadow='' row_boxshadow_color='' row_boxshadow_width='10' custom_margin='' margin='0px' mobile_breaking='' border='' border_color='' radius='0px' padding='0px' column_boxshadow='' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' highlight='' highlight_size='' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-3xl9xz'] [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' id='' custom_class='' av_uid='av-kzp71xm2' admin_preview_bg=''] While the options in Performance Model Builder are extensive enough to cover most energy models, some terms are more complex than can be entered there. In those cases, you’ll need to create a calculated measurable that contains the necessary logic or math, then put that calculated measurable into an Energy Driver term in your model. Below are examples of common calculations (or complex model terms) used in models. Measurables can be created by coordinators, external coordinators, and administrators. [/av_textblock] [/av_one_full] [av_one_full first min_height='' vertical_alignment='' space='' row_boxshadow='' row_boxshadow_color='' row_boxshadow_width='10' custom_margin='' margin='0px' mobile_breaking='' border='' border_color='' radius='0px' padding='0px' column_boxshadow='' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' highlight='' highlight_size='' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-1hrhv'] [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' id='' custom_class='' av_uid='av-kzp71xm2' admin_preview_bg=''] <h2>Create Complex Model Term</h2> <h4>Saturday Non Holiday</h4> This example measurable shows Saturday, but it can be used for any day or days of the week. 1: In Admin Tools > Measurables, click <strong>New Measurable</strong> 2: Enter details <div> <div class="canvasRteResponsiveTable"> <div class="tableWrapper"> <div class="canvasRteResponsiveTable"><strong> Name</strong>: Saturday | Non Holiday</div> </div> </div> </div> <strong> Measurable Type</strong>: Calculation <strong> Measurement Type</strong>: Unknown (qty) <strong> Read Frequency</strong>: Daily <strong> Tags</strong>: <strong> Input Type</strong>: Energy Driver <strong> Aggregation Type</strong>: Sum <strong> Formula: <</strong>copy/paste YAML code below<strong>></strong> <pre>nodes: 1: type: source.constant options: value: 1 0: type: source.constant options: value: 0 saturday: type: source.constant options: value: Saturday saturdayIndicator: type: utility.dayOfWeekIndicator inputs: - saturday holiday: type: source.measurable options: id: <span class="highlightColorYellow">1234567</span> aggregationType: avg holidayIndicator: type: utility.holidayIndicator inputs: referenceMeasurable: holiday notHoliday: type: operation.subtract inputs: - 1 - holidayIndicator satLogic: type: logic.notEqual inputs: left: saturdayIndicator right: 0 holidayLogic: type: logic.notEqual inputs: left: holidayIndicator right: 1 null: type: source.null satNotHolidayAnd: type: logic.and inputs: - satLogic - holidayLogic satNotHolidayBranch: type: logic.branch inputs: chooseAlpha: satNotHolidayAnd alpha: 1 bravo: null result: satNotHolidayBranch</pre> 3: Replace the measurable ID (shown as id: 1234567) with the ID relevant to your model 4: <strong>Save </strong>when done [/av_textblock] [/av_one_full][av_one_full first min_height='' vertical_alignment='av-align-top' space='' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='1' border_color='#56a7e1' radius='4px' radius_sync='true' padding='24px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-2p7mf7'] [av_icon_box icon='ue81d' font='entypo-fontello' title='Did you know?' position='left_content' icon_style='av-icon-style-no-border' boxed='' font_color='custom' custom_title='#56a7e1' custom_content='' color='custom' custom_bg='' custom_font='#56a7e1' custom_border='' custom_title_size='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' custom_content_size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' heading_tag='' heading_class='' link='' linktarget='' linkelement='' id='' custom_class='' av_uid='av-kzp7zln6' admin_preview_bg=''] For holidays, use the Holidays tab in Performance to automatically generate a holiday measurable and manage holidays for your Performance model. Remember, managing holidays for Performance is separate than managing holidays in Explore. [/av_icon_box] [/av_one_full] [av_one_full first min_height='' vertical_alignment='' space='' row_boxshadow='' row_boxshadow_color='' row_boxshadow_width='10' custom_margin='' margin='0px' mobile_breaking='' border='' border_color='' radius='0px' padding='0px' column_boxshadow='' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' highlight='' highlight_size='' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-1hrhv'] [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' id='' custom_class='' av_uid='av-kzp71xm2' admin_preview_bg=''] <div class="a_e_50a7110f a_e_50a7110f root-86 CanvasZone row CanvasZone--alignment CanvasZone--noMargin CanvasZone--read" data-automation-id="CanvasZone" data-theme-emphasis="0"> <div class="q_e_50a7110f p_e_50a7110f"> <div class="a_c_50a7110f n_c_50a7110f CanvasSection CanvasSection-col CanvasSection-sm12 CanvasSection--read CanvasSection-xl12" data-automation-id="CanvasSection"> <div id="6bb464f4-c3b6-4994-9b51-5ba3eba444bc" class="ControlZone ControlZone--clean a_a_50a7110f" data-automation-id="CanvasControl"> <div class="ControlZone--control"> <div class="rte-webpart rte-margin-bottom rte--inline-update" data-sp-feature-tag="Rich Text Editor" data-sp-feature-instance-id="6bb464f4-c3b6-4994-9b51-5ba3eba444bc"> <div class="cke_editable rte--read ckeditable_removeMargin highlightFocusFix uniformSpacingForElements rte--inline blockQuoteFont cke_editable rteEmphasis root-286" data-automation-id="textBox"> Here are a couple more complex model terms that are relatively common. Remember to replace the measurable IDs with the IDs relevant to your model. <div> <h4 id="anchor">Line A <u>and</u> Line B Production</h4> </div> <div></div> <pre>nodes: 0: type: source.constant options: value: 0 1: type: source.constant options: value: 1 lineA: type: source.measurable options: id: <span class="highlightColorYellow">1234567</span> aggregationType: sum lineB: type: source.measurable options: id: <span class="highlightColorYellow">9876543</span> aggregationType: sum lineAIndicator: type: logic.gt inputs: left: lineA right: 0 lineBIndicator: type: logic.gt inputs: left: lineB right: 0 lineAAndLineBLogic: type: logic.and inputs: - lineAIndicator - lineBIndicator lineAAndLineB: type: logic.branch inputs: chooseAlpha: lineAAndLineBLogic alpha: 1 bravo: 0 result: lineAAndLineB </pre> </div> </div> </div> </div> </div> </div> </div> <div class="a_e_50a7110f a_e_50a7110f root-86 CanvasZone row CanvasZone--alignment CanvasZone--noMargin CanvasZone--read" data-automation-id="CanvasZone"> <div class="q_e_50a7110f p_e_50a7110f"> <div class="a_c_50a7110f n_c_50a7110f CanvasSection CanvasSection-col CanvasSection-sm12 CanvasSection--read CanvasSection-xl12" data-automation-id="CanvasSection"> <div id="0fe5e5ea-7c47-4661-bab2-0b0395ba8cd6" class="ControlZone ControlZone--clean a_a_50a7110f" data-automation-id="CanvasControl"> <div class="ControlZone--control"> <div class="rte-webpart rte-margin-bottom rte--inline-update" data-sp-feature-tag="Rich Text Editor" data-sp-feature-instance-id="0fe5e5ea-7c47-4661-bab2-0b0395ba8cd6"> <div class="cke_editable rte--read ckeditable_removeMargin highlightFocusFix uniformSpacingForElements rte--inline blockQuoteFont cke_editable rteEmphasis root-286" data-automation-id="textBox"> <div> <h4 id="line-a-but-not-line-b-production-indicator">Line A but <u>not</u> Line B Production</h4> </div> <pre>nodes: 0: type: source.constant options: value: 0 1: type: source.constant options: value: 1 lineA: type: source.measurable options: id: <span class="highlightColorYellow">1234567</span> aggregationType: sum lineB: type: source.measurable options: id: <span class="highlightColorYellow">9876543</span> aggregationType: sum lineAIndicator: type: logic.gt inputs: left: lineA right: 0 notLineBIndicator: type: logic.equal inputs: left: lineB right: 0 lineANotLineBLogic: type: logic.and inputs: - lineAIndicator - notLineBIndicator lineANotLineB: type: logic.branch inputs: chooseAlpha: lineANotLineBLogic alpha: 1 bravo: 0 result: lineANotLineB</pre> </div> </div> </div> </div> </div> </div> </div> <div class="a_e_50a7110f a_e_50a7110f root-86 CanvasZone row CanvasZone--alignment CanvasZone--noMargin CanvasZone--read" data-automation-id="CanvasZone"> <div class="q_e_50a7110f p_e_50a7110f"> <div class="a_c_50a7110f n_c_50a7110f CanvasSection CanvasSection-col CanvasSection-sm12 CanvasSection--read CanvasSection-xl12" data-automation-id="CanvasSection"> <div id="4c5af697-1c7b-489a-b66e-22da219954b0" class="ControlZone ControlZone--clean a_a_50a7110f" data-automation-id="CanvasControl"> <div class="ControlZone--control"> <div class="rte-webpart rte-margin-bottom rte--inline-update" data-sp-feature-tag="Rich Text Editor" data-sp-feature-instance-id="4c5af697-1c7b-489a-b66e-22da219954b0"> <div class="cke_editable rte--read ckeditable_removeMargin highlightFocusFix uniformSpacingForElements rte--inline blockQuoteFont cke_editable rteEmphasis root-286" data-automation-id="textBox"></div> </div> </div> </div> </div> </div> </div> [/av_textblock] [/av_one_full][av_one_full first min_height='' vertical_alignment='' space='' row_boxshadow='' row_boxshadow_color='' row_boxshadow_width='10' custom_margin='' margin='0px' mobile_breaking='' border='' border_color='' radius='0px' padding='0px' column_boxshadow='' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' highlight='' highlight_size='' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-1hrhv'] [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' id='' custom_class='' av_uid='av-kzp71xm2' admin_preview_bg=''] <h2 id="add-measurable-to-performance-model">Add Measurable to Performance Model</h2> <div class="a_c_50a7110f k_c_50a7110f CanvasSection CanvasSection-col CanvasSection-sm12 CanvasSection--read CanvasSection-xl4" data-automation-id="CanvasSection"> <div id="55e6dd2c-6bb6-4166-81a7-a8b3cc6084f3" class="ControlZone ControlZone--clean a_a_50a7110f" data-automation-id="CanvasControl"> <div class="ControlZone--control"> <div class="rte-webpart rte-margin-bottom rte--inline-update" data-sp-feature-tag="Rich Text Editor" data-sp-feature-instance-id="55e6dd2c-6bb6-4166-81a7-a8b3cc6084f3"> <div class="cke_editable rte--read ckeditable_removeMargin highlightFocusFix uniformSpacingForElements rte--inline blockQuoteFont cke_editable rteEmphasis root-286" data-automation-id="textBox"> Add the complex, calculation measurable to your Performance model as an energy driver. </div> </div> </div> </div> </div> <div class="a_c_50a7110f m_c_50a7110f CanvasSection CanvasSection-col CanvasSection-sm12 CanvasSection--read CanvasSection-xl8" data-automation-id="CanvasSection"> <div id="c04b94fc-e530-40ac-9184-691eb63deae3" class="ControlZone ControlZone--clean a_a_50a7110f" data-automation-id="CanvasControl"> <div class="ControlZone--control"> <div data-viewport-id="CanvasImg.c04b94fc-e530-40ac-9184-691eb63deae3"> <div class="s_f_50a7110f" tabindex="0"></div> </div> </div> </div> </div> <div class="a_e_50a7110f a_e_50a7110f root-86 CanvasZone row CanvasZone--alignment CanvasZone--noMargin CanvasZone--read" data-automation-id="CanvasZone"> <div class="q_e_50a7110f p_e_50a7110f"> <div class="a_c_50a7110f n_c_50a7110f CanvasSection CanvasSection-col CanvasSection-sm12 CanvasSection--read CanvasSection-xl12" data-automation-id="CanvasSection"> <div id="4c5af697-1c7b-489a-b66e-22da219954b0" class="ControlZone ControlZone--clean a_a_50a7110f" data-automation-id="CanvasControl"> <div class="ControlZone--control"> <div class="rte-webpart rte-margin-bottom rte--inline-update" data-sp-feature-tag="Rich Text Editor" data-sp-feature-instance-id="4c5af697-1c7b-489a-b66e-22da219954b0"> <div class="cke_editable rte--read ckeditable_removeMargin highlightFocusFix uniformSpacingForElements rte--inline blockQuoteFont cke_editable rteEmphasis root-286" data-automation-id="textBox"></div> </div> </div> </div> </div> </div> </div> [/av_textblock] [av_image src='https://guide.energysensei.com/wp-content/uploads/indicator-shutdown.png' attachment='8876' attachment_size='full' copyright='' caption='' styling='' align='center' font_size='' overlay_opacity='0.4' overlay_color='#000000' overlay_text_color='#ffffff' animation='no-animation' hover='' appearance='' link='' target='' title_attr='' alt_attr='' lazy_loading='disabled' id='' custom_class='' av_element_hidden_in_editor='0' av_uid='av-l1dtdyxg' admin_preview_bg=''][/av_image] [/av_one_full] [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='' color='' id='' custom_class='' av_uid='av-kzp71xm2' admin_preview_bg=''] <div class="a_c_50a7110f k_c_50a7110f CanvasSection CanvasSection-col CanvasSection-sm12 CanvasSection--read CanvasSection-xl4" data-automation-id="CanvasSection"> <div id="55e6dd2c-6bb6-4166-81a7-a8b3cc6084f3" class="ControlZone ControlZone--clean a_a_50a7110f" data-automation-id="CanvasControl"> <div class="ControlZone--control"> <div class="rte-webpart rte-margin-bottom rte--inline-update" data-sp-feature-tag="Rich Text Editor" data-sp-feature-instance-id="55e6dd2c-6bb6-4166-81a7-a8b3cc6084f3"> <div class="cke_editable rte--read ckeditable_removeMargin highlightFocusFix uniformSpacingForElements rte--inline blockQuoteFont cke_editable rteEmphasis root-286" data-automation-id="textBox"> <em>Model details Terms tab</em> </div> </div> </div> </div> </div> <div class="a_c_50a7110f m_c_50a7110f CanvasSection CanvasSection-col CanvasSection-sm12 CanvasSection--read CanvasSection-xl8" data-automation-id="CanvasSection"> <div id="c04b94fc-e530-40ac-9184-691eb63deae3" class="ControlZone ControlZone--clean a_a_50a7110f" data-automation-id="CanvasControl"> <div class="ControlZone--control"> <div data-viewport-id="CanvasImg.c04b94fc-e530-40ac-9184-691eb63deae3"> <div class="s_f_50a7110f" tabindex="0"></div> </div> </div> </div> </div> <div class="a_e_50a7110f a_e_50a7110f root-86 CanvasZone row CanvasZone--alignment CanvasZone--noMargin CanvasZone--read" data-automation-id="CanvasZone"> <div class="q_e_50a7110f p_e_50a7110f"> <div class="a_c_50a7110f n_c_50a7110f CanvasSection CanvasSection-col CanvasSection-sm12 CanvasSection--read CanvasSection-xl12" data-automation-id="CanvasSection"> <div id="4c5af697-1c7b-489a-b66e-22da219954b0" class="ControlZone ControlZone--clean a_a_50a7110f" data-automation-id="CanvasControl"> <div class="ControlZone--control"> <div class="rte-webpart rte-margin-bottom rte--inline-update" data-sp-feature-tag="Rich Text Editor" data-sp-feature-instance-id="4c5af697-1c7b-489a-b66e-22da219954b0"> <div class="cke_editable rte--read ckeditable_removeMargin highlightFocusFix uniformSpacingForElements rte--inline blockQuoteFont cke_editable rteEmphasis root-286" data-automation-id="textBox"></div> </div> </div> </div> </div> </div> </div> [/av_textblock] [av_one_full first min_height='' vertical_alignment='av-align-top' space='' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='1' border_color='#7eb98d' radius='4px' radius_sync='true' padding='24px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-2p7mf7'] [av_icon_box icon='ue864' font='entypo-fontello' title='Tip' position='left_content' icon_style='av-icon-style-no-border' boxed='' font_color='custom' custom_title='#7eb98d' custom_content='' color='custom' custom_bg='' custom_font='#7eb98d' custom_border='' custom_title_size='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' custom_content_size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' heading_tag='' heading_class='' link='' linktarget='' linkelement='' id='' custom_class='' av_uid='av-kzp7zln6' admin_preview_bg=''] If you want to learn more about writing calculations in YAML, reference the <a href="https://guide.energysensei.com/wp-content/uploads/Calculation-Booklet.pdf" target="_blank" rel="noopener">Calculation Booklet</a>. There is no need for prior knowledge of the YAML language but experience with energy efficiency calculations is helpful. [/av_icon_box] [/av_one_full] <!-- /wp:shortcode -->
They are just standard text blocks for the content.
Relevant content excerpt for this article is:
Calculated measurables combine physical meter measurables and mathematical operators using YAML. Calculated measurables can be used to create Explore saved views for specific metrics, such as key performance indicators (KPI) and time of use (TOU) graphs. Coordinators and Cascade administrators have access to Admin to create calculated measurables. First, create and populated physical meter measurables in Sensei. Next, create a calculated measurable to reference measurable IDs in logic statements.
The debugging info returns:
The title calculated measurable The content 1234567 9876543 admin administrators aggregation aggregationtype alpha automatically avg booklet branch bravo builder calculated calculation calculations cases choosealpha code common complex constant contains copy couple cover created daily day dayofweekindicator days driver efficiency entered equal example examples experience extensive external formula frequency generate helpful holiday holidayindicator holidaylogic holidays ids input inputs knowledge language learn left line linea lineaandlineb lineaandlineblogic lineaindicator lineanotlineb lineanotlineblogic lineb linebindicator logic manage managing math measurable measurables measurement models necessary need nodes non notequal notholiday notlinebindicator null operation options paste performance prior production qty read reference referencemeasurable relatively relevant remember replace result satlogic satnotholidayand satnotholidaybranch saturday saturdayindicator separate shown source subtract sum tab tags term terms tools unknown used utility value want week writing yaml Other taxonomies calculated measurable setup Custom fields bar hidden knowledgebase left sidebar title
I see some of the words included but the client wants to search on “TOU” and “time of use”. Those are not being returned and I do not see them in the debugging content returned.
The live site is on a paid plan. I did try to uninstall the plug-in and re-install it, on the test site, but it still indicates it is a paid version.
- This reply was modified 2 years, 7 months ago by millertech.
- This reply was modified 2 years, 7 months ago by millertech.
Forum: Plugins
In reply to: [Helpful] CSS Changes Lost Since Latest UpdateSame issue – no results with functions supplied. Is it likely to keep happening on updates that the styling will disappear?
Forum: Fixing WordPress
In reply to: post_orderby filter breaks functionThank you @bcworkz – those are the included options with WP_Query and the filter should override those. I’ve tried different SQL & WP methods within the filter, but the issue is that the filter itself seems to be breaking the link to the page no matter what the filter content is. I will take a look the the post_request filter.
- This reply was modified 2 years, 7 months ago by millertech.
Forum: Plugins
In reply to: [Helpful] Helpful & EnfoldI got it to work on another site. Thank you!
Forum: Plugins
In reply to: [Helpful] Helpful & EnfoldThis is what I’m getting:
Failed to load resource: the server responded with a status of 404 ()
helpful.js:1Failed to load resource: the server responded with a status of 404 ()
flat.css:1